From 4e184958440dff6ad7fe9aad62eefb8d1d9020fe Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Mon, 15 Nov 2021 16:33:06 -0500 Subject: Remove unused functions and variables --- jamos | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'jamos') diff --git a/jamos b/jamos index d8cb254..718a698 100755 --- a/jamos +++ b/jamos @@ -12,11 +12,6 @@ import youtube_dl # MUSIC_DIRECTORY = "~/Music/" MUSIC_DIRECTORY = "./music/" -COMMANDS = ['extra', 'extension', 'stuff', 'errors', - 'email', 'foobar', 'foo'] -FILES = [] -DIRECTORIES = [] - AUDIO_OPTIONS = { 'format': 'mp3/bestaudio/best', 'cookiefile': 'cookies.txt', @@ -66,15 +61,6 @@ def get_all_files(directory): return files -def get_directories(): - files = os.listdir() - global DIRECTORIES - - for f in files: - if os.path.isdir(f): - DIRECTORIES.append(f) - - # TODO: Make this better with argparse def get_playlist_url(): return sys.argv[1] -- cgit v1.2.3