Fixed TLS version for the Comic Vine (#135)

* Fixed TLS version for the comicvine

* Fixed TLS version for the Comic Vine - Auto-Identify and Auto-Tag functions
This commit is contained in:
Marek Pawlak 2019-09-22 13:40:59 +02:00 committed by davide-romanini
parent 2891209b4e
commit c9724527b5
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ class ComicVineTalker(QObject):
self.log_func = None
# always use a tls context for urlopen
self.ssl = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
self.ssl = ssl.SSLContext(ssl.PROTOCOL_TLS)
def setLogFunc(self, log_func):
self.log_func = log_func

View File

@ -67,7 +67,7 @@ class ImageFetcher(QObject):
self.create_image_db()
# always use a tls context for urlopen
self.ssl = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
self.ssl = ssl.SSLContext(ssl.PROTOCOL_TLS)
def clearCache(self):
os.unlink(self.db_file)