LINT : Found in waybackpy\wrapper.py:88 Unnecessary else after return

This commit is contained in:
Akash Mahanty 2020-12-13 15:39:23 +05:30
parent c919a6a605
commit f89368f16d

View File

@ -87,7 +87,7 @@ class Url:
) )
if self.timestamp == datetime.max: if self.timestamp == datetime.max:
return td_max.days return td_max.days
else:
diff = datetime.utcnow() - self.timestamp diff = datetime.utcnow() - self.timestamp
return diff.days return diff.days