1
0
mirror of https://github.com/balkian/TwitterDigger.git synced 2025-08-23 06:52:21 +00:00

Synch Shelf in every iteration

This commit is contained in:
J.Fernando Sánchez
2013-03-15 16:22:05 +01:00
parent 30d46c4edc
commit bcfa29f534

View File

@@ -52,6 +52,7 @@ class Fetcher(threading.Thread):
print "Exception" print "Exception"
raise ex raise ex
finally: finally:
sh.sync()
lock.release() lock.release()
if timetowait: if timetowait:
time.sleep(timetowait) time.sleep(timetowait)