From 9fadc23a5f34caa27b3af8347be9754acfe61cb7 Mon Sep 17 00:00:00 2001 From: Dan Dembinski Date: Tue, 31 Dec 2019 15:06:42 -0500 Subject: [PATCH] Took out docker autostart. Made change to exit instead of looping for testing. --- Dockerfile | 2 -- main.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a0258d8..ff6838a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,5 +7,3 @@ RUN pip install manga-py RUN pip install sqlalchemy RUN pip install pymysql - -CMD ["python", "./main.py"] \ No newline at end of file diff --git a/main.py b/main.py index 3ae2a2e..c4d4582 100644 --- a/main.py +++ b/main.py @@ -88,6 +88,7 @@ def upload_jason(): while True: print("1. Download \n 2. Upload\n 3. Exit") download() + exit() # val = input(">>>") # if val == "1": # download()