Philipp Hörist pushed to branch master at gajim / gajim


Commits:
241f920a by lovetox at 2022-07-06T19:53:27+02:00
fix: Remote: Console scripts need a method as entry point

Fixes: #11034

- - - - -


1 changed file:

- gajim/gajim_remote.py


Changes:

=====================================
gajim/gajim_remote.py
=====================================
@@ -136,7 +136,7 @@ def create_arg_parser() -> argparse.ArgumentParser:
     return parser
 
 
-if __name__ == '__main__':
+def main() -> None:
     args = create_arg_parser().parse_args()
     try:
         result = call_method(args)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/241f920ae33ad957ecb6044f86f7ea028d8ad0c6

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/241f920ae33ad957ecb6044f86f7ea028d8ad0c6
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to