From c31c663c8aaf3b255c5b98a3283f096fd0e7add5 Mon Sep 17 00:00:00 2001 From: Dummerle <44114474+Dummerle@users.noreply.github.com> Date: Wed, 17 Nov 2021 22:42:14 +0100 Subject: [PATCH] Pylint fix --- .github/workflows/release.yml | 2 +- .gitignore | 1 + rare/components/tabs/games/cloud_save_utils.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3680c56..d295b4b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,7 +97,7 @@ jobs: uses: svenstaro/upload-release-action@2.2.1 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: Rare.AppImage + file: Rare.AppImage.zsync asset_name: Rare-${{github.ref}}.AppImage.zsync tag: ${{ github.ref }} overwrite: true diff --git a/.gitignore b/.gitignore index ffdd14eb..4d59e2c3 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ __pycache__ /Rare.egg-info/ /venv /venv310/ +/test.py diff --git a/rare/components/tabs/games/cloud_save_utils.py b/rare/components/tabs/games/cloud_save_utils.py index 114a42e9..89661f43 100644 --- a/rare/components/tabs/games/cloud_save_utils.py +++ b/rare/components/tabs/games/cloud_save_utils.py @@ -215,7 +215,7 @@ class CloudSaveUtils(QObject): self.core.lgd.set_installed_game(app_name, igame) logger.info(f"Set save path of {igame.title} to {savepath}") else: - logger.warning(None, "Warning", self.tr("No savepath set. Skip syncing with cloud")) + QMessageBox.warning(None, "Warning", self.tr("No savepath set. Skip syncing with cloud")) return False res, (dt_local, dt_remote) = self.core.check_savegame_state(igame.save_path, self.latest_saves.get(app_name))