__main__ est une chaîne, pas une variable. Le programme a maintenant l'air de fonctionner

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2021-01-26 16:29:43 +01:00
parent 25035a3221
commit 55c67118b4
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

View File

@ -96,5 +96,5 @@ def quit(exit_code: int = 0):
exit(exit_code)
if __name__ == __main__:
if __name__ == '__main__':
main()