cc-4227
Added comments. Removed bad/old upgrade code.
This commit is contained in:
parent
e46f0d2b4d
commit
48ae4a578f
3 changed files with 2 additions and 7 deletions
|
@ -273,6 +273,8 @@ def organized_path(old_path, root_path, orig_md):
|
|||
def default_f(dictionary, key):
|
||||
if key in dictionary: return len(dictionary[key]) == 0
|
||||
else: return True
|
||||
# We set some metadata elements to a default "unknown" value because we use
|
||||
# these fields to create a path hence they cannot be empty
|
||||
normal_md = default_to_f(orig_md, path_md, unicode_unknown, default_f)
|
||||
if is_airtime_recorded(normal_md):
|
||||
fname = u'%s-%s-%s.%s' % ( normal_md['MDATA_KEY_YEAR'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue