WebStats: fix SQL syntax error

master
Valentin Lorentz 2010-11-22 17:42:34 +01:00
parent 157b4c4b9d
commit 61c639e747
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class WebStatsDB:
quits INTEGER
)"""
cursor.execute(cacheTableCreator % ('chans', ''))
cursor.execute(cacheTableCreator % ('nicks', 'nick VARCHAR(128)'))
cursor.execute(cacheTableCreator % ('nicks', 'nick VARCHAR(128),'))
self._conn.commit()
cursor.close()