Browse Source

Remove icon_path()

doc-issue-template
MrS0m30n3 10 years ago
parent
commit
bcf6579864
1 changed files with 0 additions and 7 deletions
  1. 7
      youtube_dl_gui/Utils.py

7
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]

Loading…
Cancel
Save