From 8bae1cc4656ff7fa968d6e1ad15dae9bfd61ff2e Mon Sep 17 00:00:00 2001 From: vg Date: Tue, 26 Oct 2021 18:46:37 +0200 Subject: fix mode with octal literal --- shareit/shareit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shareit/shareit.py') diff --git a/shareit/shareit.py b/shareit/shareit.py index d8d0525..c77213c 100755 --- a/shareit/shareit.py +++ b/shareit/shareit.py @@ -94,7 +94,7 @@ def robot(): if __name__ == '__main__': print('I: Starting shareit application as development server') FILES_DIR = DEV_FILES_DIR - os.makedirs(FILES_DIR, mode=0755) + os.makedirs(FILES_DIR, mode=0o0755) bottle.run(host='0.0.0.0', port=8080, debug=True) else: print('I: Starting shareit application as module or wsgi application') -- cgit v1.2.3