From 7297f8cf8baf6b2222f3b879e6d689499333db98 Mon Sep 17 00:00:00 2001 From: gryf Date: Mon, 28 Oct 2019 20:00:05 +0100 Subject: [PATCH] Rename http to rest due to wierd issue in bottle --- ferrit/{http.py => rest.py} | 0 ferrit/service.py | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename ferrit/{http.py => rest.py} (100%) diff --git a/ferrit/http.py b/ferrit/rest.py similarity index 100% rename from ferrit/http.py rename to ferrit/rest.py diff --git a/ferrit/service.py b/ferrit/service.py index b0c1fe8..2ffd5cc 100644 --- a/ferrit/service.py +++ b/ferrit/service.py @@ -4,7 +4,7 @@ import os import tempfile from ferrit import ssh -from ferrit import http +from ferrit import rest def main(): @@ -13,12 +13,12 @@ def main(): os.unlink(fifo) os.mkfifo(fifo) ssh.FIFO = fifo - http.FIFO = fifo + rest.FIFO = fifo try: p1 = multiprocessing.Process(target=ssh.main) p1.daemon = True p1.start() - p2 = multiprocessing.Process(target=http.main) + p2 = multiprocessing.Process(target=rest.main) p2.daemon = False p2.start()