Merge branch 'hotfix/0.14.3'

This commit is contained in:
JackDandy 2018-02-13 13:03:01 +00:00
commit f69ebe97f2
3 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,9 @@
### 0.14.2 (2018-02-07 16:00:00 UTC)
### 0.14.3 (2018-02-13 13:00:00 UTC)
Change improve thetvdb api response handling
### 0.14.2 (2018-02-07 16:00:00 UTC)
Change add handling for where requesting disk freespace is denied permission on some Linux distros

View file

@ -499,7 +499,7 @@ class Tvdb:
'tr': 21, 'pl': 18, 'fr': 17, 'hr': 31, 'de': 14, 'da': 10, 'fi': 11,
'hu': 19, 'ja': 25, 'he': 24, 'ko': 32, 'sv': 8, 'sl': 30}
if None is language:
if not language:
self.config['language'] = 'en'
else:
if language not in self.config['valid_languages']:

View file

@ -488,7 +488,7 @@ class TvdbV1:
'tr': 21, 'pl': 18, 'fr': 17, 'hr': 31, 'de': 14, 'da': 10, 'fi': 11,
'hu': 19, 'ja': 25, 'he': 24, 'ko': 32, 'sv': 8, 'sl': 30}
if None is language:
if not language:
self.config['language'] = 'en'
else:
if language not in self.config['valid_languages']: