620e65e2 by 冯轩

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

1 parent 23dffcc7
......@@ -336,7 +336,7 @@ class BSWorkbook(Workbook):
metadata_dict = json.loads(metadata)
author = metadata_dict.pop('author', '')
producer = metadata_dict.pop('producer', '')
if author != '' or 'iText' not in producer or 'Qt' not in producer or 'Haru Free' not in producer:
if author != '' or ('iText' not in producer and 'Qt' not in producer and 'Haru Free' not in producer):
self.need_follow = True
metadata_rows.append(('Author', author))
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!