From 8084e6ee833a0cf93152e0fcb9aca9aaf34320fa Mon Sep 17 00:00:00 2001 From: KatKatKateryna Date: Sun, 29 Oct 2023 21:52:54 +0000 Subject: [PATCH] remove more emojis --- patch_version.py | 2 +- speckle_qgis.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/patch_version.py b/patch_version.py index a1454560..56987cf0 100644 --- a/patch_version.py +++ b/patch_version.py @@ -42,7 +42,7 @@ def patch_installer(tag): print(f"Patched metadata v{tag} ") file.close() - with open(plugin_start_file, "r") as file: # , encoding="utf8" + with open(plugin_start_file, "r", encoding="utf8") as file: lines = file.readlines() for i, line in enumerate(lines): if "self.version = " in line: diff --git a/speckle_qgis.py b/speckle_qgis.py index a19e9833..0f1eeac5 100644 --- a/speckle_qgis.py +++ b/speckle_qgis.py @@ -1023,7 +1023,7 @@ def run(self): # if the standard QGIS libraries are used if urllib3.__version__ == "1.25.11" and requests.__version__ == "2.24.0": logToUser( - "❗ Dependencies versioning error.\nClick here for details.", + "Dependencies versioning error.\nClick here for details.", url="dependencies_error", plugin=self.dockwidget, ) @@ -1084,7 +1084,7 @@ def handleStreamCreate(self, account, str_name, description, is_public): except SpeckleException as ex: if "already connected" in ex.message: logToUser( - "❗ Dependencies versioning error.\nClick here for details.", + "Dependencies versioning error.\nClick here for details.", url="dependencies_error", plugin=self.dockwidget, ) @@ -1146,7 +1146,7 @@ def handleBranchCreate(self, br_name, description): except SpeckleException as ex: if "already connected" in ex.message: logToUser( - "❗ Dependencies versioning error.\nClick here for details.", + "Dependencies versioning error.\nClick here for details.", url="dependencies_error", plugin=self.dockwidget, )