Skip to content

Commit 1fdfdf6

Browse files
committed
[bugfix] fix #13 typo
1 parent 9184aa0 commit 1fdfdf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kobodl/actions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,11 @@ def GetBookOrBooks(user: User, outputPath: str, productId: str = '') -> Union[No
182182
continue
183183

184184
bookMetadata, book_type = __GetBookMetadata(newEntitlement)
185-
if bookMetadata is None:
185+
if book_type is None:
186186
click.echo('Skipping book of unknown type')
187187
continue
188188

189-
elif bookMetadata == BookType.SUBSCRIPTION:
189+
elif book_type == BookType.SUBSCRIPTION:
190190
click.echo('Skipping subscribtion entity')
191191
continue
192192

0 commit comments

Comments
 (0)