More logic for checking upper-case "V" for volume
git-svn-id: http://comictagger.googlecode.com/svn/trunk@15 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
parent
c28d24481f
commit
f43c29977e
@ -100,9 +100,10 @@ class FileNameParser:
|
||||
series = series.rstrip("#")
|
||||
|
||||
# search for volume number
|
||||
match = re.search('(?<=v)(\d+)\s*$', series)
|
||||
match = re.search('(?<= [vV])(\d+)\s*$', series)
|
||||
if match:
|
||||
volume = match.group()
|
||||
series = series.replace(" V"+ volume, " v"+ volume)
|
||||
series = series.split("v"+volume)[0]
|
||||
volume = volume.lstrip("0")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user