FIX:加'关注'的判断条件
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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)) | ... | ... |
-
Please register or sign in to post a comment