From 3a4416799e1d6889064c4481735e630ff1809e9e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 24 Sep 2015 21:25:28 +0200 Subject: [PATCH] Constructors! --- adventuremode.py | 1 + 1 file changed, 1 insertion(+) diff --git a/adventuremode.py b/adventuremode.py index b468166a..502a0c7c 100644 --- a/adventuremode.py +++ b/adventuremode.py @@ -60,6 +60,7 @@ def getUpdates(): if(data['result'] != []): #Aggiorna l'update ID sul file writeFile("lastid.txt", str(data['result'][0]['update_id'] + 1)) + parametri['offset'] = str(int(parametri['offset']) + 1) #...esiste il messaggio? telegram wtf if(data['result'][0]['message'] != None): if(data['result'][0]['message']['text'] != ""):