Kobo sync enable/disable working

This commit is contained in:
Ozzieisaacs
2020-01-27 20:32:37 +01:00
parent 4ab3dc2599
commit e44494aad0
7 changed files with 25 additions and 17 deletions
+2 -2
View File
@@ -43,9 +43,9 @@ from cps.gdrive import gdrive
from cps.editbooks import editbook
try:
from cps.kobo import kobo
from cps.kobo import kobo, get_kobo_activated
from cps.kobo_auth import kobo_auth
kobo_available = True
kobo_available = get_kobo_activated()
except ImportError:
kobo_available = False