1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-30 03:50:31 +00:00

only python3 supported now

This commit is contained in:
mmonkey 2021-01-04 12:28:05 -06:00
parent 774799f316
commit 8cc06683df

View File

@ -20,11 +20,7 @@ from __future__ import division, print_function, unicode_literals
from cps import config, logger
from cps.services.worker import CalibreTask
try:
from urllib.request import urlopen
except ImportError as e:
from urllib2 import urlopen
from urllib.request import urlopen
class TaskReconnectDatabase(CalibreTask):