i hate python if this works

This commit is contained in:
overflowerror 2015-03-23 13:46:56 +01:00
parent b15cd25d31
commit 4bb2b61d76

View file

@ -70,8 +70,8 @@ if __name__ == "__main__":
lastChange = 0 lastChange = 0
else: else:
lastChange = lastChange[0].GetId() lastChange = lastChange[0].GetId()
lastChange = api.mentions_timeline(since_id = lastChange) tmp = api.mentions_timeline(since_id = lastChange)
if len(lastChange) != 0: if len(tmp) != 0:
lastChange = lastChange[0].GetId() lastChange = lastChange[0].GetId()
while true: while true: