summaryrefslogtreecommitdiffstats
path: root/Other_Tools
diff options
context:
space:
mode:
authorapprenticeharper <[email protected]>2015-09-07 07:52:23 +0100
committerapprenticeharper <[email protected]>2015-09-07 07:52:23 +0100
commit488924d443b030dd0042392f2f9622de42de1a9b (patch)
treee50f1842847eaaad22e62efe49f231808ed6f16c /Other_Tools
parent07485be2c01f83477d99031c43399ee5aa957121 (diff)
Fix for kobo users who haven't yet bought a book.
Diffstat (limited to 'Other_Tools')
-rw-r--r--Other_Tools/Kobo/obok.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/Other_Tools/Kobo/obok.py b/Other_Tools/Kobo/obok.py
index 0545152..1e93c0e 100644
--- a/Other_Tools/Kobo/obok.py
+++ b/Other_Tools/Kobo/obok.py
@@ -1,6 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+# Version 3.1.5 September 2015
+# Removed requirement that a purchase has been made.
+#
# Version 3.1.4 September 2015
# Updated for version 3.17 of the Windows Desktop app.
#
@@ -115,7 +118,7 @@
#
"""Manage all Kobo books, either encrypted or DRM-free."""
-__version__ = '3.1.3'
+__version__ = '3.1.5'
import sys
import os
@@ -301,7 +304,7 @@ class KoboLibrary(object):
def __getuserids (self):
userids = []
- cursor = self.__cursor.execute('SELECT UserID FROM user WHERE HasMadePurchase = "true"')
+ cursor = self.__cursor.execute('SELECT UserID FROM user')
row = cursor.fetchone()
while row is not None:
try: