aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2021-10-26 18:46:37 +0200
committervg <vgm+dev@devys.org>2021-10-26 18:46:37 +0200
commit8bae1cc4656ff7fa968d6e1ad15dae9bfd61ff2e (patch)
tree20dfad3e152a401ffcd8c09c68d141e56384a458
parentb8b321c4d56f737b8b52f92cc611f0b4d348fc8f (diff)
downloadshareit-8bae1cc4656ff7fa968d6e1ad15dae9bfd61ff2e.tar.gz
shareit-8bae1cc4656ff7fa968d6e1ad15dae9bfd61ff2e.tar.bz2
shareit-8bae1cc4656ff7fa968d6e1ad15dae9bfd61ff2e.zip
fix mode with octal literalHEADmaster
-rwxr-xr-xshareit/shareit.py2
1 files changed, 1 insertions, 1 deletions
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')