mirror of
https://github.com/xtream1101/humblebundle-downloader.git
synced 2024-11-20 08:49:17 +01:00
Flake8 fix
This commit is contained in:
parent
9d4b078890
commit
c8aba1179a
@ -114,7 +114,9 @@ class DownloadLibrary:
|
|||||||
|
|
||||||
cache_file_key = 'trove:{name}'.format(name=web_name)
|
cache_file_key = 'trove:{name}'.format(name=web_name)
|
||||||
file_info = {
|
file_info = {
|
||||||
'uploaded_at': download.get('uploaded_at') or download.get('timestamp') or product.get('date_added', '0'),
|
'uploaded_at': (download.get('uploaded_at')
|
||||||
|
or download.get('timestamp')
|
||||||
|
or product.get('date_added', '0')),
|
||||||
'md5': download.get('md5', 'UNKNOWN_MD5'),
|
'md5': download.get('md5', 'UNKNOWN_MD5'),
|
||||||
}
|
}
|
||||||
cache_file_info = self.cache_data.get(cache_file_key, {})
|
cache_file_info = self.cache_data.get(cache_file_key, {})
|
||||||
|
Loading…
Reference in New Issue
Block a user