Skip to content

Commit e3c327d

Browse files
committed
Merge branch 'online_backup' of https://github.com/RCasatta/opentimestamps-server into online_backup
2 parents 12dd9b9 + b546868 commit e3c327d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

otsserver/backup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def loop(self):
244244
logging.error("Exception asking " + str(backup_url) + " message " + str(err))
245245
break
246246

247-
if r.status_code == 404:
247+
if r.status_code != 200:
248248
logging.info("%s not found, sleeping for %s seconds" % (backup_url, SLEEP_SECS) )
249249
time.sleep(SLEEP_SECS)
250250
continue

0 commit comments

Comments
 (0)