Skip to content

Commit

Permalink
fix skip_extract to be a property instead of a method or staticmethod
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanvir1337x committed Nov 27, 2024
1 parent 1e3e77b commit 90db801
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions stuff/hidestatusbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ def copy(self):
os.makedirs(rro_dir)
shutil.copyfile(self.download_loc, os.path.join(rro_dir, "hidestatusbar.apk"))

@property
def skip_extract(self):
return True
4 changes: 2 additions & 2 deletions stuff/mitm.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def __init__(self, ca_cert_file: str = None) -> None:
def download(self):
raise NotImplementedError()

@staticmethod
def skip_extract():
@property
def skip_extract(self):
return True

def copy(self):
Expand Down

0 comments on commit 90db801

Please sign in to comment.