1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-12-12 11:18:05 +00:00

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

4
cps.py
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