BUG Avoid function collision with subprocess.run

This commit is contained in:
Renato Alves
2023-05-14 15:55:55 +02:00
parent b4ecc96dae
commit ac857efde7
2 changed files with 3 additions and 3 deletions

View File

@@ -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()

View File

@@ -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"]