1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 17:17:12 +00:00
This commit is contained in:
Louis Vézina 2020-01-22 20:09:32 -05:00
parent 2c74e382a8
commit c16ba5e17a

View file

@ -84,7 +84,7 @@ class Subs4FreeProvider(Provider):
def initialize(self): def initialize(self):
self.session = Session() self.session = Session()
self.session.headers['User-Agent'] = 'Subliminal/{}'.format(__short_version__) self.session.headers['User-Agent'] = os.environ.get("SZ_USER_AGENT", "Sub-Zero/2")
def terminate(self): def terminate(self):
self.session.close() self.session.close()