Commit 55835eda authored by David Trattnig's avatar David Trattnig
Browse files

Removed unused exception.

parent 75f50ccb
......@@ -35,10 +35,9 @@ from modules.communication.mail import AuraMailer
from modules.base.enum import ChannelType, Channel, TransitionType
from modules.base.utils import TerminalColors, SimpleUtil
from modules.base.exceptions import LQConnectionError, InvalidChannelException, NoActiveEntryException
from libraries.exceptions.exception_logger import ExceptionLogger
class SoundSystem(ExceptionLogger):
class SoundSystem():
"""
SoundSystem Class
......@@ -453,6 +452,7 @@ class SoundSystem(ExceptionLogger):
except ValueError as e:
msg = SimpleUtil.red("Cannot set volume of channel " + channel + " to " + str(volume) + "!. Reason: " + str(e))
self.logger.error(msg)
self.logger.info("Available channels: %s" % str(channels))
return
try:
......
......@@ -35,7 +35,6 @@ import threading
from operator import attrgetter
from libraries.database.broadcasts import AuraDatabaseModel, Schedule, Playlist, PlaylistEntry, PlaylistEntryMetaData, SingleEntry, SingleEntryMetaData, TrackService
from libraries.exceptions.exception_logger import ExceptionLogger
from modules.base.exceptions import NoActiveScheduleException, NoActiveEntryException
from modules.base.enum import Channel, ChannelType, TimerType, TransitionType, EntryQueueState
......@@ -60,7 +59,7 @@ def alchemyencoder(obj):
# ------------------------------------------------------------------------------------------ #
class AuraScheduler(ExceptionLogger, threading.Thread):
class AuraScheduler(threading.Thread):
"""
Aura Scheduler Class
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment