mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix Python 3.5 test failure
This commit is contained in:
parent
b01304d707
commit
1c0d93c39b
1 changed files with 1 additions and 1 deletions
|
|
@ -843,7 +843,7 @@ class Datasette:
|
|||
def app_css_hash(self):
|
||||
if not hasattr(self, '_app_css_hash'):
|
||||
self._app_css_hash = hashlib.sha1(
|
||||
open(os.path.join(app_root, 'datasette/static/app.css')).read().encode('utf8')
|
||||
open(os.path.join(str(app_root), 'datasette/static/app.css')).read().encode('utf8')
|
||||
).hexdigest()[:6]
|
||||
return self._app_css_hash
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue