modification of code and loggger apply and changes of update from.
This commit is contained in:
@@ -7,7 +7,12 @@ class FileHandler:
|
||||
|
||||
@staticmethod
|
||||
def CHeckExistingOrCreateNewUploadFolder():
|
||||
#Wheteher path exists
|
||||
# Whether path exists
|
||||
os.makedirs(FileHandler.UPLOAD_FOLDER, exist_ok=True)
|
||||
return
|
||||
|
||||
|
||||
@staticmethod
|
||||
def CheckExistingOrCreateNewLoggerFolder():
|
||||
if not os.path.exists("logs"):
|
||||
os.mkdir("logs")
|
||||
return
|
||||
Reference in New Issue
Block a user