620e65e2 by 冯轩

FIX:加'关注'的判断条件

1 parent 23dffcc7
...@@ -336,7 +336,7 @@ class BSWorkbook(Workbook): ...@@ -336,7 +336,7 @@ class BSWorkbook(Workbook):
336 metadata_dict = json.loads(metadata) 336 metadata_dict = json.loads(metadata)
337 author = metadata_dict.pop('author', '') 337 author = metadata_dict.pop('author', '')
338 producer = metadata_dict.pop('producer', '') 338 producer = metadata_dict.pop('producer', '')
339 if author != '' or 'iText' not in producer or 'Qt' not in producer or 'Haru Free' not in producer: 339 if author != '' or ('iText' not in producer and 'Qt' not in producer and 'Haru Free' not in producer):
340 self.need_follow = True 340 self.need_follow = True
341 metadata_rows.append(('Author', author)) 341 metadata_rows.append(('Author', author))
342 metadata_rows.append(('Producer', producer)) 342 metadata_rows.append(('Producer', producer))
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!