From 24bd055198c3a5927a5162fc5f3405eab654e314 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Sat, 5 Apr 2014 14:14:07 +0300 Subject: [PATCH] Rename SignalHandler.py -> OutputHandler.py Rename SignalHandler.py -> OutputHandler.py --- youtube_dl_gui/DownloadThread.py | 2 +- youtube_dl_gui/{SignalHandler.py => OutputHandler.py} | 2 +- youtube_dl_gui/YoutubeDLGUI.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename youtube_dl_gui/{SignalHandler.py => OutputHandler.py} (98%) 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,