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:
parent
2891209b4e
commit
c9724527b5
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user