diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-01 07:34:25 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-01 07:34:25 (GMT) |
commit | a4701d57c5a44fe943d01391dcaeac09df109fdf (patch) | |
tree | 06ad78cc5e066ae313f93aa708aeff9c5f67ce06 /Theme.py | |
parent | 4af506e8a79b598541387fbfe92d0cfbfc1c0c08 (diff) |
Add lessons
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: |