BUG-2 (FixPath) solved, because we no longer fix paths :)

This commit is contained in:
2021-01-22 22:33:44 +11:00
parent 20a302e3d6
commit 954132cf1a
2 changed files with 0 additions and 8 deletions

1
BUGs
View File

@@ -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[<key>] has missing key
BUG-7: thumbnail orientation issues (see latest image from my phone - of laptop)

View File

@@ -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()