From e70e221ea6a89870261044ecbaa2177b6610dba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Sun, 29 Apr 2018 20:39:43 +0200 Subject: [PATCH] Don't add 10000 to ID's, it's not needed anymore --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index fd974a4..3440316 100644 --- a/bot.py +++ b/bot.py @@ -165,7 +165,7 @@ class TwitchBot(irc.bot.SingleServerIRCBot): log.info('Adding quote %s: %s', id, text) try: self.post(dict( - id=int(id) + 10000, # FIXME + id=int(id), date=dateutil.parser.parse(date, dayfirst=True).date().isoformat(), game=game, text=text))