Lint
This commit is contained in:
@@ -22,6 +22,7 @@ def query_error(query: QSqlQuery) -> NoReturn:
|
||||
)
|
||||
raise Exception(translate("MainWindow", "SQL Error"))
|
||||
|
||||
|
||||
class Resources:
|
||||
_instance = None
|
||||
nam = QNetworkAccessManager()
|
||||
@@ -39,7 +40,7 @@ class Resources:
|
||||
subduedColor: QColor
|
||||
|
||||
subduedBackground: QColor
|
||||
|
||||
|
||||
def __new__(cls: type[Self]) -> Self:
|
||||
if cls._instance:
|
||||
return cls._instance
|
||||
|
||||
Reference in New Issue
Block a user