main: move start of program under __main__
This commit is contained in:
@@ -3,7 +3,8 @@ import sys
|
|||||||
|
|
||||||
from main.astrodatagui.AstrodataGUI import AstrodataGUI
|
from main.astrodatagui.AstrodataGUI import AstrodataGUI
|
||||||
|
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
if __name__ == "__main__":
|
||||||
window = AstrodataGUI()
|
app = QtWidgets.QApplication(sys.argv)
|
||||||
|
window = AstrodataGUI()
|
||||||
|
|
||||||
app.exec_()
|
app.exec_()
|
||||||
Reference in New Issue
Block a user