mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
plugins/Todo: Specify a converter so negative priorities don't cause safeEval to bitch.
This commit is contained in:
parent
603cab6b0a
commit
9700121a6a
@ -44,7 +44,7 @@ import supybot.callbacks as callbacks
|
|||||||
|
|
||||||
class TodoRecord(dbi.Record):
|
class TodoRecord(dbi.Record):
|
||||||
__fields__ = [
|
__fields__ = [
|
||||||
'priority',
|
('priority', int),
|
||||||
'at',
|
'at',
|
||||||
'task',
|
'task',
|
||||||
'active',
|
'active',
|
||||||
|
Loading…
Reference in New Issue
Block a user