1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

Use correct octal notation for python3

This commit is contained in:
Dario Ernst 2019-10-03 08:32:36 +00:00
parent 18bc2fe78b
commit dc8a798ca1

View File

@ -37,7 +37,7 @@ os.makedirs("/conf/bin", exist_ok=True)
for script_file in glob.glob("/conf/*.script"): for script_file in glob.glob("/conf/*.script"):
out_file = os.path.join("/conf/bin/", os.path.basename(script_file).replace('.script','')) out_file = os.path.join("/conf/bin/", os.path.basename(script_file).replace('.script',''))
conf.jinja(script_file, os.environ, out_file) conf.jinja(script_file, os.environ, out_file)
os.chmod(out_file, 0555) os.chmod(out_file, 0o555)
# Run Podop, then postfix # Run Podop, then postfix
multiprocessing.Process(target=start_podop).start() multiprocessing.Process(target=start_podop).start()