diff options
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) |