summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to 'portato')
-rw-r--r--portato/db/eix_sql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/db/eix_sql.py b/portato/db/eix_sql.py
index 75bcb1e..758f42c 100644
--- a/portato/db/eix_sql.py
+++ b/portato/db/eix_sql.py
@@ -46,7 +46,7 @@ class EixSQLDatabase (SQLDatabase):
def updated (self):
mtime = os.stat(self.cache).st_mtime
- old = self.session.get("mtime", 0)
+ old = float(self.session.get("mtime", 0))
self.session["mtime"] = str(mtime)