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]