From 8c5d4869f9139fc7863e55fd88241f86b7d09be0 Mon Sep 17 00:00:00 2001 From: MichaelFitzurka Date: Thu, 31 Mar 2022 13:34:40 -0400 Subject: [PATCH] Updates to comments. --- comictaggerlib/taggerwindow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comictaggerlib/taggerwindow.py b/comictaggerlib/taggerwindow.py index 60fdddf..d2ce6cb 100644 --- a/comictaggerlib/taggerwindow.py +++ b/comictaggerlib/taggerwindow.py @@ -1375,10 +1375,10 @@ class TaggerWindow(QtWidgets.QMainWindow): def openWebLink(self): if self.leWebLink is not None: - web_link = "{0}".format(self.leWebLink.text()).strip(); - if len(web_link) > 0: + web_link = self.leWebLink.text().strip(); + if web_link: try: - response = requests.get(web_link) + requests.get(web_link) webbrowser.open_new_tab(web_link) except: QtWidgets.QMessageBox.information(