mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-20 00:34:54 +00:00
only python3 supported now
This commit is contained in:
parent
774799f316
commit
8cc06683df
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user