ADD os.mkdir(C:Scripte) to create_service.py

This commit is contained in:
2023-08-22 22:25:46 +02:00
parent e92b88f121
commit 209dae74d8
3 changed files with 10 additions and 7 deletions
+1
View File
@@ -9,6 +9,7 @@ def addservice(service):
if not os.path.isfile(f"{path}\.{service}"):
main_folder = f"{path}"
try:
os.mkdir("C:\Scripte")
os.mkdir(main_folder)
except:
print("Folder exist")