Skip to content

Commit 56486d3

Browse files
committed
Fixing Type Error
TypeError: 'staticmethod' object is not callable
1 parent 232e5b1 commit 56486d3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎src/osw/wtsite.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ def from_credentials(
217217
site = wt.create_site_object(_domain, "", _credentials)
218218
return cls(WtSite.WtSiteLegacyConfig(site=site))
219219

220-
@staticmethod
221220
def try_and_renew_token(func):
222221
""" "Tries to execute the method call. If the auth token has expired already,
223222
the token is renewed and the method call is retried.
@@ -1309,7 +1308,6 @@ def init(self):
13091308
# todo: set content for slots not in revision["slots"] (use
13101309
# SLOTS) --> create empty slots
13111310

1312-
@staticmethod
13131311
def try_and_renew_token(func):
13141312
"""Tries to execute the method call. If the auth token has expired already,
13151313
the token is renewed and the method call is retried.

0 commit comments

Comments
 (0)