Skip to content

Commit

Permalink
ctmod: Update download_file error dialog title
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk committed Aug 1, 2024
1 parent da84191 commit f941f2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pupgui2/resources/ctmods/ctmod_luxtorpeda.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __download(self, url: str, destination: str, known_size: int = 0):
except Exception as e:
print(f"Failed to download tool {CT_NAME} - Reason: {e}")

self.message_box_message.emit("Error!", "Failed to download tool {CT_NAME}!\n\nReason: {EXCEPTION}".format(CT_NAME=CT_NAME, EXCEPTION=e), QMessageBox.Icon.Warning)
self.message_box_message.emit("Download Error!", "Failed to download tool '{CT_NAME}'!\n\nReason: {EXCEPTION}".format(CT_NAME=CT_NAME, EXCEPTION=e), QMessageBox.Icon.Warning)


def __fetch_github_data(self, tag):
Expand Down
2 changes: 1 addition & 1 deletion pupgui2/resources/ctmods/ctmod_z0dxvk.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __download(self, url: str, destination: str, known_size: int = 0):
except Exception as e:
print(f"Failed to download tool {CT_NAME} - Reason: {e}")

self.message_box_message.emit("Error!", "Failed to download tool {CT_NAME}!\n\nReason: {EXCEPTION}".format(CT_NAME=CT_NAME, EXCEPTION=e), QMessageBox.Icon.Warning)
self.message_box_message.emit("Download Error!", "Failed to download tool '{CT_NAME}'!\n\nReason: {EXCEPTION}".format(CT_NAME=CT_NAME, EXCEPTION=e), QMessageBox.Icon.Warning)

def __fetch_data(self, tag: str = '') -> dict:
"""
Expand Down

0 comments on commit f941f2a

Please sign in to comment.