From 488924d443b030dd0042392f2f9622de42de1a9b Mon Sep 17 00:00:00 2001 From: apprenticeharper Date: Mon, 7 Sep 2015 07:52:23 +0100 Subject: [PATCH] Fix for kobo users who haven't yet bought a book. --- Obok_calibre_plugin/obok_plugin.zip | Bin 60486 -> 60497 bytes Obok_calibre_plugin/obok_plugin/__init__.py | 2 +- Obok_calibre_plugin/obok_plugin/obok/obok.py | 7 +++++-- Other_Tools/Kobo/obok.py | 7 +++++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Obok_calibre_plugin/obok_plugin.zip b/Obok_calibre_plugin/obok_plugin.zip index ffa230e7731b75eb999c8c3743f9a5ffe2d8741f..8c22732032e6d313a1ab224d2ee92e6017721f32 100644 GIT binary patch delta 8045 zcmV-zACln4*aOkn0}@b60|XQR000O88a^jShce2!krFC@Ezk-`fi$1SW)nAY+QVX@ zrKOS0h9U)$vg7{x&QP)~B~IJJ3PEgH!^byo-VAjFOIap`RERn=xzzL1r|H$n&xv=Z zKPGO)|GY@h(+B?|)+9|;iZb0(kONNzyhdWW?rM1Sku@y0gqkT(2U* zIkrsTL;MSGG`W4c9^a*RXP+-w>id~_h6}uS_#ADYJ)T`%ZUQ>tF%?BtgJG=93N3wF ztP~|Oh#(q4lt#lX!o}s|`NMcJ9pB#(MmmTdury0_K>I+@=aZQkc*d%pIS@K$x(@sT zOYnw&KY>XLyN)}ke_TF15@I@in%pwC!N(DN7{O0(A~>-)ivKcF555rV!OIZHU+}_u z>;wBs5I2{%ldJLV>&$mz98-=rsH%A3%bi$fPt%+GhezJ>OdIy;e|hA8U0kYQOyCNI z0yTyi>@mUSx^<<2H{h^&AHY;3Rv4t^DsqUT|*0n3XL@TLt zvvO<%<6fe#%?eTb1?m3g+V0V+*F-PTy4P%a(Y=~AYf7nQS(j<+@^phi?jURYK!3xH zHb)6e7t%o?QRS3=AvFfi!S&M^DjEsgEkSd?5FRq4y^xyxsZ5v-JKtu+b3jlrUgenf?mNjDQs%oGkBs$!Vz z&Ve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=QrEj^m2!W|s#!|)-ynX-O zqKOwX)LzbCq;c|a(-xOkm*?Uty2uPi$M+Vw!=!dhjB9)zbBxQZQmxT+?_SArq5}yQ z*>YRa2sjVa)n=0HmV(Z*h(gd34Zrhg_ovnv`nq1zXt}Pre;ic_=(GQ}$tfhu{>_>~ zRBKd+9_D~@(CEmQ){Eg870oV6Jwud!{;}YU8->?$*F?cPE0bF{@L~!!gxP><8vhVyyS zXR^TBn1aZuUQNa0GUXc9c=2l<^UkF5TNk@I`AA&Se=gwWzr_pY9qFFfh#{d-mSs@d zM4YFBEwgUuU^Cbal^<$}2t}Q*6Cc0!+TS`|Yf~U%CBcqHtke=^zK_BR(YZ>1zaekZ z-TQs6uZmEhKJ~1ZBBxpy2@ZzX#BT_ZZ)iXAseZF$`@EY}sy-CFyLCh2I@!D~a8uf_ z@}VtFf7(-UlMeYi6q`%TA8VA>!wAIjqafXbXM}&x?(xGnu50q0Z&xeCuhbc%Ul;H9 z{>Y5`JaZ}1h^=O=v9ldS4L0;;Ez(WexX0qZIO?~^R+ oKLLD`Z0kP(OOveYKLY8^lMv1nlL7210l1Sa>>mb?<^TWy0LACgivR!s diff --git a/Obok_calibre_plugin/obok_plugin/__init__.py b/Obok_calibre_plugin/obok_plugin/__init__.py index f627a42..0b4e7d3 100644 --- a/Obok_calibre_plugin/obok_plugin/__init__.py +++ b/Obok_calibre_plugin/obok_plugin/__init__.py @@ -19,7 +19,7 @@ except NameError: PLUGIN_NAME = 'Obok DeDRM' PLUGIN_SAFE_NAME = PLUGIN_NAME.strip().lower().replace(' ', '_') PLUGIN_DESCRIPTION = _('Removes DRM from Kobo kepubs and adds them to the library.') -PLUGIN_VERSION_TUPLE = (3, 1, 4) +PLUGIN_VERSION_TUPLE = (3, 1, 5) PLUGIN_VERSION = '.'.join([str(x) for x in PLUGIN_VERSION_TUPLE]) HELPFILE_NAME = PLUGIN_SAFE_NAME + '_Help.htm' PLUGIN_AUTHORS = 'Anon' diff --git a/Obok_calibre_plugin/obok_plugin/obok/obok.py b/Obok_calibre_plugin/obok_plugin/obok/obok.py index 0545152..1e93c0e 100644 --- a/Obok_calibre_plugin/obok_plugin/obok/obok.py +++ b/Obok_calibre_plugin/obok_plugin/obok/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: 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: