add: staticmethod decorator to no-self-use methods

This commit is contained in:
eggplants
2022-02-04 07:54:27 +09:00
parent 5a324b9f61
commit 858c486b99
3 changed files with 8 additions and 5 deletions

View File

@@ -108,7 +108,8 @@ class WaybackMachineSaveAPI(object):
return None
def sleep(self, tries: int) -> None:
@staticmethod
def sleep(tries: int) -> None:
"""
Ensure that the we wait some time before succesive retries so that we
don't waste the retries before the page is even captured by the Wayback