diff options
Diffstat (limited to 'Theme.py')
-rw-r--r-- | Theme.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -84,7 +84,9 @@ if os.path.isdir(SESSION_PATH): shutil.rmtree(SESSION_PATH) os.mkdir(SESSION_PATH) -def path(file): +def path(*args): + file = os.path.join(*args) + if os.path.isabs(file): return file else: |