We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c89e01 commit 945aeffCopy full SHA for 945aeff
browser/models.py
@@ -292,7 +292,7 @@ def has_failed(self):
292
else:
293
# Still processing?
294
# Assume all processing longer than 12hrs is broken?
295
- now = datetime.datetime.utcnow().replace(tzinfo=timezone.utc)
+ now = datetime.datetime.utcnow().replace(tzinfo=datetime.timezone.utc)
296
timediff = now - self.started_processing
297
if timediff.total_seconds() > (12 * 60 * 60):
298
return True
0 commit comments