From edb090593240e11a3fe357b8fdc5be31f4b8ca85 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Mon, 12 Jun 2023 18:55:44 +0200 Subject: [PATCH] remove weird daemon module --- requirements.txt | 1 - src/main.py | 4 ---- 2 files changed, 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 28a692a..2c019e2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,6 @@ idna==3.4 lockfile==0.12.2 lxml==4.9.2 multidict==6.0.4 -python-daemon==3.0.1 python-dotenv==1.0.0 requests==2.30.0 soupsieve==2.4.1 diff --git a/src/main.py b/src/main.py index 050f2aa..2d4d020 100755 --- a/src/main.py +++ b/src/main.py @@ -1,5 +1,4 @@ from datetime import datetime -import daemon import requests import time from time import sleep @@ -114,6 +113,3 @@ Länge: {dur} if __name__ == "__main__": daemon() - -with daemon.DaemonContext(): - daemon()