You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if should_update and created_file(lock):
try:
d = urllib2.urlopen(endpoint).read()
with open(cache, 'w') as f: f.write(d)
except Exception as e:
print e
if os.path.exists(lock):
os.remove(lock)
This will always remove lock file.
The text was updated successfully, but these errors were encountered:
This will always remove lock file.
The text was updated successfully, but these errors were encountered: