From ebca8116e3b44a1a74b88bad1b3f3d2a0d39366d Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Fri, 26 Apr 2024 11:28:55 +0900 Subject: [PATCH] =?UTF-8?q?[bugfix]=20About=20VRCT:=20=E4=B8=80=E9=83=A8?= =?UTF-8?q?=E3=83=AA=E3=83=B3=E3=82=AF=E3=81=8C=E9=96=8B=E3=81=91=E3=81=AA?= =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E3=80=82=20openWebPage=5FAboutVrct=E9=96=A2=E6=95=B0=E3=81=ABa?= =?UTF-8?q?rg=E5=BC=95=E6=95=B0=E3=82=92=E5=85=A5=E3=82=8C=E3=81=9F?= =?UTF-8?q?=E3=81=93=E3=81=A8=E3=81=AB=E3=82=88=E3=82=8A=E3=80=81arg?= =?UTF-8?q?=E5=BC=95=E6=95=B0=E3=81=AA=E3=81=97=E3=81=A7=E5=91=BC=E3=81=B0?= =?UTF-8?q?=E3=82=8C=E3=81=9F=E6=99=82=E3=81=AB=E3=82=A8=E3=83=A9=E3=83=BC?= =?UTF-8?q?=E3=81=8C=E5=87=BA=E3=81=A6=E3=81=84=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/view.py b/view.py index 45cb8fa1..ee209cda 100644 --- a/view.py +++ b/view.py @@ -1046,7 +1046,7 @@ class View(): def openWebPage_DeepL_Auth_Key(self): self.openWebPage(config.DEEPL_AUTH_KEY_PAGE_URL) - def openWebPage_AboutVrct(self, target_type:str, arg): + def openWebPage_AboutVrct(self, target_type:str, arg=None): url = "" match (target_type): case ("X_MISYA"): @@ -1088,6 +1088,9 @@ class View(): case ("X_SHIINA_POSTER_SHOWCASE_POST"): + if arg is None: + print("arg that received is None. it mus be something number") + return url = "https://twitter.com/Shiina_12siy/status/" + arg