From 6f26b80ebffac9163b68bd008d4dcac6856b95a4 Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 10 May 2022 00:47:32 -0500 Subject: [PATCH] Remove unnecessary os.path.abspath call, delete requirements.txt --- requirements.txt | 6 ------ server/normalization/main.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index ae473de..0000000 --- a/requirements.txt +++ /dev/null @@ -1,6 +0,0 @@ -Flask~=1.1.2 -click~=7.1.2 -enlighten~=1.6.2 -requests~=2.24.0 -bs4~=0.0.1 -beautifulsoup4~=4.9.1 diff --git a/server/normalization/main.py b/server/normalization/main.py index 90f0f43..6518322 100644 --- a/server/normalization/main.py +++ b/server/normalization/main.py @@ -24,7 +24,7 @@ TRUTH_DIR = os.path.join(CUR_DIR, 'truth') CHARACTERS_DIR = os.path.join(CUR_DIR, 'characters') EPISODES_DIR = os.path.join(TRUTH_DIR, 'episodes') COMPILE_DIR = os.path.join(CUR_DIR, 'compile') -RAW_DIR = os.path.abspath(os.path.join(CUR_DIR, 'raw')) +RAW_DIR = os.path.join(CUR_DIR, 'raw') RAW_FILES = os.listdir(RAW_DIR)