summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/python/utils/custom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/python/utils/custom.py b/src/main/python/utils/custom.py
index fedecdb..2c8ffc6 100644
--- a/src/main/python/utils/custom.py
+++ b/src/main/python/utils/custom.py
@@ -279,7 +279,7 @@ class OutputBox(QTextEdit):
self.setFontWeight(10)
self.setHtml(text)
-if __name__ == '__main__': # 1. Instantiate ApplicationContext
+def main(): # 1. Instantiate ApplicationContext
#if app is launched directly
from .app import app
import sys