From bcf6579864aa4106243d357b0db310421c01d4e8 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Tue, 29 Apr 2014 00:37:51 +0300 Subject: [PATCH] Remove icon_path() --- youtube_dl_gui/Utils.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/youtube_dl_gui/Utils.py b/youtube_dl_gui/Utils.py index 65c2fc4..6baded9 100644 --- a/youtube_dl_gui/Utils.py +++ b/youtube_dl_gui/Utils.py @@ -75,13 +75,6 @@ def get_filesize(path): def makedir(path): os.makedirs(path) -def icon_path(icon_path, file_path): - L = len(icon_path) - file_path = os.path.abspath(file_path).split(get_path_seperator()) - for index, item in reversed(list(enumerate(icon_path))): - file_path[index - L] = item - return get_path_seperator().join(file_path) - def get_filename(path): return path.split(get_path_seperator())[-1]