aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/loop.py (renamed from scripts/main_loop.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/main_loop.py b/scripts/loop.py
index 264ea31..1911fc2 100755
--- a/scripts/main_loop.py
+++ b/scripts/loop.py
@@ -75,7 +75,7 @@ def loop_term():
def sigterm_handler(_signo, _stack_frame):
loop_term()
-def main_loop():
+def loop():
global thr
thr = mainThread("thred")
thr.start()
@@ -88,4 +88,4 @@ def main_loop():
if __name__ == '__main__':
signal.signal(signal.SIGTERM, sigterm_handler)
- main_loop()
+ loop()