Don't use year if it's the first in the identified string. fix #1815
This commit is contained in:
1 parent
233e6f9be0
commit
88176997e7
1 file changed
+1
-1
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user