mirror of
https://github.com/lutris/lutris
synced 2024-09-29 20:43:37 +00:00
Fix bugged Itch.io patch download; it needs to discard the 'extra' downloads.
This commit is contained in:
parent
27807ce55f
commit
19ad7149a7
|
@ -613,7 +613,9 @@ class ItchIoService(OnlineService):
|
|||
def get_patch_files(self, installer, installer_file_id):
|
||||
"""Similar to get_installer_files but for patches"""
|
||||
# No really, it is the same! so we just call get_installer_files
|
||||
return self.get_installer_files(installer, installer_file_id, [])
|
||||
# and strip off the extras files.
|
||||
files, _extra_files = self.get_installer_files(installer, installer_file_id, [])
|
||||
return files
|
||||
|
||||
def get_file_weight(self, name, demo):
|
||||
if name.endswith(".rpm"):
|
||||
|
|
Loading…
Reference in a new issue