Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/node/routes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/node/routes.py')
-rw-r--r--sugar_network/node/routes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar_network/node/routes.py b/sugar_network/node/routes.py
index 705d7c2..680c934 100644
--- a/sugar_network/node/routes.py
+++ b/sugar_network/node/routes.py
@@ -121,7 +121,7 @@ class NodeRoutes(model.VolumeRoutes, model.FrontRoutes):
if '.' in filename:
continue
path = join(root, filename)
- mtime = os.stat(path).st_mtime
+ mtime = int(os.stat(path).st_mtime)
if mtime > request.if_modified_since:
result.append(filename)
last_modified = max(last_modified, mtime)