BUG-2 (FixPath) solved, because we no longer fix paths :)
This commit is contained in:
1
BUGs
1
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[<key>] has missing key
|
||||
BUG-7: thumbnail orientation issues (see latest image from my phone - of laptop)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user