diff --git a/youtube_dl_gui/DownloadThread.py b/youtube_dl_gui/DownloadThread.py index 4f8f708..195c6b4 100644 --- a/youtube_dl_gui/DownloadThread.py +++ b/youtube_dl_gui/DownloadThread.py @@ -8,7 +8,7 @@ from wx import CallAfter from wx.lib.pubsub import setuparg1 from wx.lib.pubsub import pub as Publisher -from .SignalHandler import ( +from .OutputHandler import ( DataPack, OutputHandler ) diff --git a/youtube_dl_gui/SignalHandler.py b/youtube_dl_gui/OutputHandler.py similarity index 98% rename from youtube_dl_gui/SignalHandler.py rename to youtube_dl_gui/OutputHandler.py index 49866bf..baca7f1 100644 --- a/youtube_dl_gui/SignalHandler.py +++ b/youtube_dl_gui/OutputHandler.py @@ -140,7 +140,7 @@ class OutputHandler(): def __init__(self, stdout): dataPack = None - self.stdout = remove_spaces(string_to_array(stdout)) + self.stdout = remove_empty_items(string_to_array(stdout)) # extract header from stdout header = self.extract_header() # extract special headers filename, playlist diff --git a/youtube_dl_gui/YoutubeDLGUI.py b/youtube_dl_gui/YoutubeDLGUI.py index 09d5b52..700850d 100644 --- a/youtube_dl_gui/YoutubeDLGUI.py +++ b/youtube_dl_gui/YoutubeDLGUI.py @@ -28,7 +28,7 @@ from .UpdateThread import UpdateThread from .DownloadThread import DownloadManager from .OptionsHandler import OptionsHandler from .YoutubeDLInterpreter import YoutubeDLInterpreter -from .SignalHandler import DownloadHandler +from .OutputHandler import DownloadHandler from .LogManager import LogManager, LogGUI from .Utils import ( video_is_dash,