diff --git a/.gitignore b/.gitignore index 6f18d43..f2194a8 100644 --- a/.gitignore +++ b/.gitignore @@ -73,6 +73,7 @@ __pycache__/ dist/* build/* ui_*.py +.ropeproject/ # Binaries # -------- diff --git a/openfm_qt/__main__.py b/openfm_qt/__main__.py index 62493a3..c678026 100644 --- a/openfm_qt/__main__.py +++ b/openfm_qt/__main__.py @@ -1,14 +1,16 @@ -# This Python file uses the following encoding: utf-8 +# coding=utf-8 from PySide6.QtWidgets import QApplication from . import MainWindow import sys + def main(): app = QApplication(sys.argv) widget = MainWindow() widget.show() sys.exit(app.exec()) + if __name__ == "__main__": main()