summaryrefslogtreecommitdiffstats
path: root/module/Utils.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-07 22:11:27 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-07 22:11:27 +0100
commita67b1efd6ef96b9f942dfb521ede1d07eb1b0ed9 (patch)
tree1b8af90c4d2e6af2795c2f980f5206a4ea9e17d7 /module/Utils.py
parentlittle fix (diff)
downloadpyload-a67b1efd6ef96b9f942dfb521ede1d07eb1b0ed9.tar.xz
closed #234
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 = []