diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-11-15 11:54:55 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-11-15 11:54:55 -0600 |
commit | e4cf758129e81cf3e400a1432ec2d6604fe67a2d (patch) | |
tree | dc6eeae4bb2619244fd7a90a0530a7afdace00a8 /interfaz | |
parent | c364979e1c20f3b269ffc3a61e5f21b394536136 (diff) | |
download | javanol-e4cf758129e81cf3e400a1432ec2d6604fe67a2d.tar.gz javanol-e4cf758129e81cf3e400a1432ec2d6604fe67a2d.tar.bz2 javanol-e4cf758129e81cf3e400a1432ec2d6604fe67a2d.zip |
Se añade __main__ a interfaz
Diffstat (limited to 'interfaz')
-rw-r--r-- | interfaz/main.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/interfaz/main.py b/interfaz/main.py index c99166d..eb8d437 100644 --- a/interfaz/main.py +++ b/interfaz/main.py @@ -153,6 +153,6 @@ class App(Adw.Application): self.win = MainWindow(application=app) self.win.present() - -app = App(application_id='mx.rgg.spanishjava') -app.run(sys.argv) +if __name__ == "__main__": + app = App(application_id='mx.rgg.spanishjava') + app.run(sys.argv) |