BUG-2 (FixPath) solved, because we no longer fix paths :)
This commit is contained in:
@@ -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