diff --git a/humblebundle_downloader/download_library.py b/humblebundle_downloader/download_library.py index 6d3eb47..a2aa21d 100644 --- a/humblebundle_downloader/download_library.py +++ b/humblebundle_downloader/download_library.py @@ -114,7 +114,9 @@ class DownloadLibrary: cache_file_key = 'trove:{name}'.format(name=web_name) 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'), } cache_file_info = self.cache_data.get(cache_file_key, {})