Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/client/routes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/client/routes.py')
-rw-r--r--sugar_network/client/routes.py2
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()