Default to 0000 for y when no metadata.

Fixes #53 on github.

Patch by: tlc
This commit is contained in:
Thomas Vander Stichele
2013-12-01 22:29:10 -05:00
parent 274309a8ea
commit b461d8a16f

View File

@@ -239,6 +239,7 @@ class Program(log.Loggable):
v['C'] = '' # catalog number
v['x'] = profile and profile.extension or 'unknown'
v['X'] = v['x'].upper()
v['y'] = '0000'
v['a'] = v['A']
if i == 0: