summaryrefslogtreecommitdiffstats
path: root/module/Utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/Utils.py')
-rw-r--r--module/Utils.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/module/Utils.py b/module/Utils.py
index de07a9450..2d8a0423e 100644
--- a/module/Utils.py
+++ b/module/Utils.py
@@ -2,10 +2,17 @@
""" Store all usefull functions here """
+import os
import sys
import time
from os.path import join
+def chmod(*args):
+ try:
+ os.chmod(*args)
+ except:
+ pass
+
def save_join(*args):
""" joins a path, encoding aware """
paths = []