添加文件权限

duizhaopin
13507605001 2 years ago
parent 642f286bf4
commit 111ce061df

1
.gitignore vendored

@ -28,6 +28,7 @@ MANIFEST
.vscode
.vscode/*
runserver_log/
img
# PyInstaller
# Usually these files are written by a python script from a template

@ -24,6 +24,7 @@ class CreateBarcode:
"""
code_path = os.path.join(os.getcwd(), "img")
if not os.path.exists(code_path):
os.umask(0)
os.makedirs(code_path)
def __init__(self):
pass

Loading…
Cancel
Save