Fix NPS store content-type dropdown fetching wrong list
This commit is contained in:
+1
-1
@@ -1856,7 +1856,7 @@ class StorePage(QWidget):
|
|||||||
self.status.setText("Fetching store from archive.org…")
|
self.status.setText("Fetching store from archive.org…")
|
||||||
worker = RemoteStoreScanWorker(transfers.ArchiveOrgSource(self._archive_id, self._archive_sig, self._archive_user))
|
worker = RemoteStoreScanWorker(transfers.ArchiveOrgSource(self._archive_id, self._archive_sig, self._archive_user))
|
||||||
elif self.source_combo.currentIndex() == 3: # NoPayStation
|
elif self.source_combo.currentIndex() == 3: # NoPayStation
|
||||||
ct = "psp" if self.nps_type.currentIndex() == 0 else "psx"
|
ct = ("psp", "psx", "theme", "dlc")[self.nps_type.currentIndex()]
|
||||||
log.info("store: fetching NoPayStation %s list", ct)
|
log.info("store: fetching NoPayStation %s list", ct)
|
||||||
self.status.setText(f"Fetching NoPayStation ({ct.upper()})…")
|
self.status.setText(f"Fetching NoPayStation ({ct.upper()})…")
|
||||||
worker = RemoteStoreScanWorker(transfers.NoPayStationSource(ct, pkg2zip_path=self._pkg2zip))
|
worker = RemoteStoreScanWorker(transfers.NoPayStationSource(ct, pkg2zip_path=self._pkg2zip))
|
||||||
|
|||||||
Reference in New Issue
Block a user