fixed a bug in windows filename arg list processing
git-svn-id: http://comictagger.googlecode.com/svn/trunk@482 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
parent
07ef0211b9
commit
c519fd33d5
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
from comictaggerlib.main import ctmain
|
||||
|
||||
ctmain()
|
||||
ctmain()
|
||||
|
@ -289,7 +289,8 @@ For more help visit the wiki at: http://code.google.com/p/comictagger/
|
||||
self.file_list = []
|
||||
for item in args:
|
||||
self.file_list.extend(glob.glob(item))
|
||||
self.filename = self.file_list[0]
|
||||
if len(self.file_list) > 0:
|
||||
self.filename = self.file_list[0]
|
||||
else:
|
||||
self.filename = args[0]
|
||||
self.file_list = args
|
||||
|
Loading…
x
Reference in New Issue
Block a user