summaryrefslogtreecommitdiff
path: root/jamos
diff options
context:
space:
mode:
Diffstat (limited to 'jamos')
-rwxr-xr-xjamos4
1 files changed, 2 insertions, 2 deletions
diff --git a/jamos b/jamos
index e947e3d..765c17c 100755
--- a/jamos
+++ b/jamos
@@ -200,7 +200,7 @@ def create_downloader(music_directory, cookies):
audio_options = {
'format': 'mp3/bestaudio/best',
'cookiefile': cookies,
- 'outtmpl': music_directory + '%(title)s.%(ext)s',
+ 'outtmpl': os.path.join(music_directory, '%(title)s.%(ext)s'),
'postprocessors': [
{
'key': 'FFmpegExtractAudio',
@@ -298,7 +298,7 @@ if __name__ == "__main__":
print("Done".format(f))
print("Moving file...", end="")
move_file(f, metadata, music_directory)
- print("Done", end="")
+ print("Done")
counter += 1
except Exception as e:
# just gonna print this and move on to the next file.