mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Store: Update drm check.
This commit is contained in:
parent
f8df019059
commit
d6c7447e0a
@ -588,9 +588,9 @@ class Matches(QAbstractItemModel):
|
||||
elif col == 3:
|
||||
text = comparable_price(result.price)
|
||||
elif col == 4:
|
||||
if result.drm:
|
||||
if result.drm == SearchResult.DRM_UNLOCKED:
|
||||
text = 'a'
|
||||
elif result.drm == False:
|
||||
elif result.drm == SearchResult.DRM_LOCKED:
|
||||
text = 'b'
|
||||
else:
|
||||
text = 'c'
|
||||
|
Loading…
x
Reference in New Issue
Block a user