Made it possible to import pesterchum without it trying to run conventionally.
This commit is contained in:
parent
bf0bf78696
commit
ed38d54e82
1 changed files with 4 additions and 2 deletions
|
@ -3075,5 +3075,7 @@ Click this message to never see this again.")
|
|||
self.showLoading(self.widget)
|
||||
sys.exit(self.app.exec_())
|
||||
|
||||
if __name__ == "__main__":
|
||||
# We're being run as a script - not being imported.
|
||||
pesterchum = MainProgram()
|
||||
pesterchum.run()
|
||||
|
|
Loading…
Reference in a new issue