mirror of
https://github.com/ciromattia/kcc
synced 2025-12-15 10:46:40 +00:00
Fixed bookmark parsing (close #229)
This commit is contained in:
@@ -39,7 +39,6 @@ class MetadataParser:
|
|||||||
self.format = None
|
self.format = None
|
||||||
if self.source.endswith('.xml') and os.path.exists(self.source):
|
if self.source.endswith('.xml') and os.path.exists(self.source):
|
||||||
self.rawdata = parse(self.source)
|
self.rawdata = parse(self.source)
|
||||||
self.parseXML()
|
|
||||||
elif not self.source.endswith('.xml'):
|
elif not self.source.endswith('.xml'):
|
||||||
try:
|
try:
|
||||||
cbx = comicarchive.ComicArchive(self.source)
|
cbx = comicarchive.ComicArchive(self.source)
|
||||||
|
|||||||
Reference in New Issue
Block a user