Skip to content

Commit

Permalink
BUG Avoid function collision with subprocess.run
Browse files Browse the repository at this point in the history
  • Loading branch information
unode committed May 14, 2023
1 parent b4ecc96 commit ac857ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions firefox_decrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ def main() -> None:
moz.unload_profile()


def run():
def run_ffdecrypt():
try:
main()
except KeyboardInterrupt:
Expand All @@ -1122,4 +1122,4 @@ def run():


if __name__ == "__main__":
run()
run_ffdecrypt()
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = {text = "GPL-3.0-only"}
readme = "README.md"

[project.scripts]
firefox_decrypt = "firefox_decrypt:run"
firefox_decrypt = "firefox_decrypt:run_ffdecrypt"

[build-system]
requires = ["setuptools", "setuptools-scm"]
Expand Down

0 comments on commit ac857ef

Please sign in to comment.