Skip to content

Commit

Permalink
fix: update argument passing for RomApi's subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
seppzer0 committed Feb 19, 2024
1 parent 3486c11 commit 7541cab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrapper/modules/assets_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ def run(self) -> None:
rom_collector_dto = ""
match self.base:
case "los":
rom_collector_dto = LineageOsApi(self.codename, self.rom_only)
rom_collector_dto = LineageOsApi(codename=self.codename)
case "pa":
rom_collector_dto = ParanoidAndroidApi(self.codename, self.rom_only)
rom_collector_dto = ParanoidAndroidApi(codename=self.codename)
case "x" | "aosp":
msg.note("Selected kernel base is ROM-universal, no specific ROM image will be collected")
# process the "ROM-only" download for non-universal kernel bases
Expand Down

0 comments on commit 7541cab

Please sign in to comment.