mirror of
https://github.com/unode/firefox_decrypt.git
synced 2025-12-16 12:01:52 +01:00
BUG Avoid function collision with subprocess.run
This commit is contained in:
@@ -1111,7 +1111,7 @@ def main() -> None:
|
||||
moz.unload_profile()
|
||||
|
||||
|
||||
def run():
|
||||
def run_ffdecrypt():
|
||||
try:
|
||||
main()
|
||||
except KeyboardInterrupt:
|
||||
@@ -1122,4 +1122,4 @@ def run():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
run()
|
||||
run_ffdecrypt()
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user