diff options
Diffstat (limited to 'sugar_network/client/routes.py')
-rw-r--r-- | sugar_network/client/routes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar_network/client/routes.py b/sugar_network/client/routes.py index 268ef38..10d82af 100644 --- a/sugar_network/client/routes.py +++ b/sugar_network/client/routes.py @@ -88,7 +88,7 @@ class ClientRoutes(model.FrontRoutes, implementations.Routes, journal.Routes): path = ['index.html'] path = join(client.hub_root.value, *path) - mtime = os.stat(path).st_mtime + mtime = int(os.stat(path).st_mtime) if request.if_modified_since >= mtime: raise http.NotModified() |