diff --git a/utilities/helper/accelerate.py b/utilities/helper/accelerate.py index 403bd4667e5..ceabbe4a706 100644 --- a/utilities/helper/accelerate.py +++ b/utilities/helper/accelerate.py @@ -176,7 +176,7 @@ def daemonize_self(module, password, port, minutes, pid_file): # decouple from parent environment os.chdir("/") os.setsid() - os.umask(Oo22) + os.umask(int('O22', 8)) # do second fork try: