mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Handling case of weird OPML not having the right attrs.
This commit is contained in:
parent
7e1238f6a6
commit
ed3ddf0b54
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class OPMLImporter(Importer):
|
|||
def process_outline(self, outline):
|
||||
folders = []
|
||||
for item in outline:
|
||||
if not hasattr(item, 'xmlUrl'):
|
||||
if not hasattr(item, 'xmlUrl') and hasattr(item, 'text'):
|
||||
folder = item
|
||||
# if hasattr(folder, 'text'):
|
||||
# logging.info(' ---> [%s] ~FRNew Folder: %s' % (self.user, folder.text))
|
||||
|
|
Loading…
Add table
Reference in a new issue