Don't use year if it's the first in the identified string. fix #1815

This commit is contained in:
Ruud
2013-09-02 00:00:27 +02:00
parent 233e6f9be0
commit 88176997e7
+1 -1
View File
@@ -766,7 +766,7 @@ class Scanner(Plugin):
# Year
year = self.findYear(identifier)
if year:
if year and identifier[:4] != year:
identifier = '%s %s' % (identifier.split(year)[0].strip(), year)
else:
identifier = identifier.split('::')[0]