Commit c3db3a44 authored by Bryton Lacquement's avatar Bryton Lacquement 🚪 Committed by Julien Muchembled

randomsleep: add support for Python 3

parent 69458bf5
...@@ -26,4 +26,4 @@ script = ...@@ -26,4 +26,4 @@ script =
wrapper_script_path = os.path.join(self.options['bin_dir'], 'randomsleep') wrapper_script_path = os.path.join(self.options['bin_dir'], 'randomsleep')
with open(wrapper_script_path, 'w') as f: with open(wrapper_script_path, 'w') as f:
f.write(self.options['wrapper_script_code']) f.write(self.options['wrapper_script_code'])
os.chmod(wrapper_script_path, 0750) os.chmod(wrapper_script_path, 0o750)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment