diff options
author | 2015-04-13 17:20:59 +0200 | |
---|---|---|
committer | 2015-04-13 17:20:59 +0200 | |
commit | e00ef98491f79ae8aa972ae1473dae4a7b78c07e (patch) | |
tree | 31be0c7cdcebb61525bcc387bcf15d265a1c494a /pyload/webui/filters.py | |
parent | Fix except (diff) | |
download | pyload-e00ef98491f79ae8aa972ae1473dae4a7b78c07e.tar.xz |
Cleanup
Diffstat (limited to 'pyload/webui/filters.py')
-rw-r--r-- | pyload/webui/filters.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyload/webui/filters.py b/pyload/webui/filters.py index 527b18446..c784b248d 100644 --- a/pyload/webui/filters.py +++ b/pyload/webui/filters.py @@ -8,6 +8,8 @@ try: from os.path import relpath except Exception: from posixpath import curdir, sep, pardir + + def relpath(path, start=curdir): """Return a relative version of a path""" if not path: |