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