projects
/
feedingit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b805889
)
Fixed database upgrade when not using the widget
author
Yves Marcoz
<yves@marcoz.org>
Tue, 10 Aug 2010 14:27:55 +0000
(07:27 -0700)
committer
Yves Marcoz
<yves@marcoz.org>
Tue, 10 Aug 2010 14:27:55 +0000
(07:27 -0700)
src/rss_sqlite.py
patch
|
blob
|
history
diff --git
a/src/rss_sqlite.py
b/src/rss_sqlite.py
index
c248c73
..
fc8a4cd
100644
(file)
--- a/
src/rss_sqlite.py
+++ b/
src/rss_sqlite.py
@@
-403,7
+403,7
@@
class Listing:
else:
from string import find, upper
if find(upper(table[0]), "WIDGET")<0:
- self.db.execute("ALTER TABLE feeds ADD COLUMN (widget int);")
+ self.db.execute("ALTER TABLE feeds ADD COLUMN widget int;")
self.db.execute("UPDATE feeds SET widget=1;")
self.db.commit()
except: