diff --git a/dettect.py b/dettect.py index eb5cb1c..8d4ef27 100644 --- a/dettect.py +++ b/dettect.py @@ -2,7 +2,7 @@ import argparse import os import signal from interactive_menu import * -from dettect_editor import DeTTECTEditor +from editor import DeTTECTEditor def _init_menu(): diff --git a/dettect_editor.py b/editor.py similarity index 93% rename from dettect_editor.py rename to editor.py index 2f80c19..1c1f4db 100644 --- a/dettect_editor.py +++ b/editor.py @@ -65,3 +65,7 @@ class DeTTECTEditor: """ thread = threading.Thread(target=self._run_webserver) thread.start() + + +if __name__ == '__main__': + print("Please use dettect.py for running the DeTT&CT Editor. Run 'python dettect.py e -h' for more information.")