LINT : Found in waybackpy\wrapper.py:88 Unnecessary else after return
This commit is contained in:
parent
c919a6a605
commit
f89368f16d
@ -87,9 +87,9 @@ class Url:
|
||||
)
|
||||
if self.timestamp == datetime.max:
|
||||
return td_max.days
|
||||
else:
|
||||
diff = datetime.utcnow() - self.timestamp
|
||||
return diff.days
|
||||
|
||||
diff = datetime.utcnow() - self.timestamp
|
||||
return diff.days
|
||||
|
||||
def _url_check(self):
|
||||
"""Check for common URL problems."""
|
||||
|
Loading…
Reference in New Issue
Block a user