]> xmof Git - DeDRM.git/commitdiff
Remove incorrect Linux support for Kobo Desktop
authorApprentice Harper <apprenticeharper@gmail.com>
Tue, 20 Dec 2016 06:27:08 +0000 (06:27 +0000)
committerApprentice Harper <apprenticeharper@gmail.com>
Tue, 20 Dec 2016 06:27:08 +0000 (06:27 +0000)
Obok_calibre_plugin/obok_plugin.zip
Obok_calibre_plugin/obok_plugin/obok/obok.py

index 7c0c62a5ba205602ea9ceed208cb7d3251819e0e..b3116433c4954ed24e57543ea0ee1dc362f94f81 100644 (file)
Binary files a/Obok_calibre_plugin/obok_plugin.zip and b/Obok_calibre_plugin/obok_plugin.zip differ
index 149d09c8bde96b3c77754d9d64ea8cc168a5566c..5050c7ab367c09abe51e80e08e88793efa5d6384 100644 (file)
@@ -1,6 +1,9 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+# Version 3.2.4 December 2016
+# Remove incorrect support for Kobo Desktop under Wine
+#
 # Version 3.2.3 October 2016
 # Fix for windows network user and more xml fixes
 #
 #
 """Manage all Kobo books, either encrypted or DRM-free."""
 
-__version__ = '3.2.3'
+__version__ = '3.2.4'
 __about__ =  u"Obok v{0}\nCopyright © 2012-2016 Physisticated et al.".format(__version__)
 
 import sys
@@ -351,9 +354,9 @@ class KoboLibrary(object):
                 self.kobodir = os.path.join(self.kobodir, u"Kobo", u"Kobo Desktop Edition")
             elif sys.platform.startswith('darwin'):
                 self.kobodir = os.path.join(os.environ['HOME'], u"Library", u"Application Support", u"Kobo", u"Kobo Desktop Edition")
-            elif linux_path != None:
+            #elif linux_path != None:
                 # Probably Linux, let's get the wine prefix and path to Kobo.
-                self.kobodir = os.path.join(linux_path, u"Local Settings", u"Application Data", u"Kobo", u"Kobo Desktop Edition")
+            #   self.kobodir = os.path.join(linux_path, u"Local Settings", u"Application Data", u"Kobo", u"Kobo Desktop Edition")
             # desktop versions use Kobo.sqlite
             kobodb = os.path.join(self.kobodir, u"Kobo.sqlite")
             # check for existence of file