This commit is contained in:
Andreas Stephanides
2017-01-14 16:23:46 +01:00
parent 38d28384ea
commit 3e3b6699cf

View File

@@ -51,7 +51,7 @@ def handle_urls(handler, cmd,args=[]):
lg.debug(json.dumps(cmd)) lg.debug(json.dumps(cmd))
print json.dumps(cmd) print json.dumps(cmd)
if len(cmd) >= 4 and cmd[3]=="que": if len(cmd) >= 4 and cmd[3]=="que":
sent=handler.sender.sendMessage("I qued url "+ json.dumps(compiler_controller.urls_test(int(cmd[2]))), reply_markup=None) sent=handler.sender.sendMessage("I qued url "+ json.dumps(compiler_controller.urls_que(int(cmd[2]))), reply_markup=None)
elif len(cmd) >= 4 and cmd[3]=="test": elif len(cmd) >= 4 and cmd[3]=="test":
sent=handler.sender.sendMessage("I tested url: "+ json.dumps(compiler_controller.urls_test(int(cmd[2]))["comp"])[0:399], reply_markup=None) sent=handler.sender.sendMessage("I tested url: "+ json.dumps(compiler_controller.urls_test(int(cmd[2]))["comp"])[0:399], reply_markup=None)
elif len(cmd) >= 3 and cmd[2] == "que": elif len(cmd) >= 3 and cmd[2] == "que":