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