15 lines
281 B
Python
15 lines
281 B
Python
import os
|
|
|
|
|
|
class FileHandler:
|
|
|
|
UPLOAD_FOLDER = 'uploads'
|
|
RESULT_FILE = 'unmatched_result.xlsx'
|
|
|
|
@staticmethod
|
|
def check_or_create_folder_exists():
|
|
|
|
if not os.path.exists(FileHandler.UPLOAD_FOLDER):
|
|
os.makedirs(FileHandler.UPLOAD_FOLDER)
|
|
|