rename logger

This commit is contained in:
dries.k
2022-01-29 17:27:37 +01:00
parent 99aa90985f
commit 28a8912528
9 changed files with 11 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ from .models import (
GotifyVersionModel,
)
logger = logging.getLogger("logger")
logger = logging.getLogger("gotify-tray")
class GotifySession(object):

View File

@@ -7,6 +7,9 @@ from PyQt6 import QtCore
from .models import GotifyMessageModel, GotifyErrorModel
logger = logging.getLogger("gotify-tray")
class Listener(QtCore.QThread):
new_message = QtCore.pyqtSignal(GotifyMessageModel)
error = QtCore.pyqtSignal(Exception)

View File

@@ -5,7 +5,7 @@ from typing import List, Optional
import requests
logger = logging.getLogger("logger")
logger = logging.getLogger("gotify-tray")
try: