eliminate semicolons

This commit is contained in:
Kashiko Koibumi 2024-05-18 11:12:49 +09:00
parent 8c2701c53b
commit bc254a935e
No known key found for this signature in database
GPG Key ID: 8F06E069E37C40C4
3 changed files with 3 additions and 3 deletions

View File

@ -1221,7 +1221,7 @@ class MyForm(settingsmixin.SMainWindow):
# create application indicator
def appIndicatorInit(self, app):
self.initTrayIcon("can-icon-24px-red.png", app)
self.tray.activated.connect(self.__icon_activated);
self.tray.activated.connect(self.__icon_activated)
m = QtWidgets.QMenu()

View File

@ -102,7 +102,7 @@ class ObjectTracker(object):
def handleReceivedObject(self, streamNumber, hashid):
"""Handling received object"""
hashid_bytes = bytes(hashid);
hashid_bytes = bytes(hashid)
for i in connectionpool.pool.connections():
if not i.fullyEstablished:
continue

View File

@ -41,7 +41,7 @@ def translateText(context, text, n=None):
enableGUI = True
if enableGUI:
try:
from PyQt6 import QtCore, QtGui, QtWidgets
from PyQt6 import QtWidgets
except Exception as err:
print('PyBitmessage requires PyQt unless you want to run it as a daemon'
' and interact with it using the API.'