diff --git a/BUGs b/BUGs index 95f8867..b017899 100644 --- a/BUGs +++ b/BUGs @@ -1,5 +1,4 @@ ### Next: 13 - BUG-2: Fix the function FixPath so its not just C:, use isPosixPath instead... BUG-4: Duration is borked and comes out as -1 day under jobs (windows created jobs ONLY) BUG-6: add a new file (e.g. touch an image in the import dir), and keep_dir[] has missing key BUG-7: thumbnail orientation issues (see latest image from my phone - of laptop) diff --git a/pa_job_manager.py b/pa_job_manager.py index 4ce06a6..e5f7e06 100644 --- a/pa_job_manager.py +++ b/pa_job_manager.py @@ -613,13 +613,6 @@ def isVideo(file): except Exception as e: return False -# Converts linux paths into windows paths -# HACK: assumes c:, might be best to just look for [a-z]: ? -def FixPath(p): - if p.startswith('c:'): - p = p.replace('/', '\\') - return p - # Returns an md5 hash of the fnames' contents def md5(job, fname): hash_md5 = hashlib.md5()