move in open function
This commit is contained in:
@@ -3,6 +3,7 @@ import os
|
||||
|
||||
if not os.path.exists("logs"):
|
||||
os.mkdir("logs")
|
||||
#open and close the file to create it
|
||||
with open("logs/application.log", "w") as f:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user