summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/stats/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stats/db.py b/util/stats/db.py
index 4cba82446..495cdb5b5 100644
--- a/util/stats/db.py
+++ b/util/stats/db.py
@@ -171,7 +171,7 @@ class Database(object):
self.query('select * from formulas')
for id,formula in self.cursor.fetchall():
- self.allFormulas[int(id)] = formula
+ self.allFormulas[int(id)] = formula.tostring()
StatData.db = self
self.query('select * from stats')