diff --git a/rare/components/dialogs/cloud_save_dialog.py b/rare/components/dialogs/cloud_save_dialog.py index 1aec8533..640efe41 100644 --- a/rare/components/dialogs/cloud_save_dialog.py +++ b/rare/components/dialogs/cloud_save_dialog.py @@ -54,8 +54,8 @@ class CloudSaveDialog(QDialog, Ui_SyncSaveDialog): else: self.status = self.UPLOAD - self.sync_ui.date_info_local.setText(dt_local.strftime("%A, %d. %B %Y %X")) - self.sync_ui.date_info_remote.setText(dt_remote.strftime("%A, %d. %B %Y %X")) + self.sync_ui.date_info_local.setText(dt_local.strftime("%A, %d. %B %Y %X") if dt_local else "None") + self.sync_ui.date_info_remote.setText(dt_remote.strftime("%A, %d. %B %Y %X") if dt_remote else "None") self.sync_ui.icon_local.setPixmap(icon("mdi.harddisk", "fa.desktop").pixmap(128, 128)) self.sync_ui.icon_remote.setPixmap(icon("mdi.cloud-outline", "ei.cloud").pixmap(128, 128)) diff --git a/rare/models/game.py b/rare/models/game.py index fd43925d..5ec5094f 100644 --- a/rare/models/game.py +++ b/rare/models/game.py @@ -407,7 +407,7 @@ class RareGame(RareGameSlim): @return bool If the game doesn't have assets """ - return not self.game.asset_infos + return not self.game.asset_infos or not next(iter(self.game.asset_infos.values())).app_name @property def is_origin(self) -> bool: