From 2179eb1460c74bcc34d34177f2ffcbb12bc31b3b Mon Sep 17 00:00:00 2001 From: sharky555 Date: Tue, 5 Oct 2021 18:12:03 -0600 Subject: [PATCH] code clean up --- autoupload.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autoupload.py b/autoupload.py index c1394ab..08c67ab 100644 --- a/autoupload.py +++ b/autoupload.py @@ -542,14 +542,14 @@ def gatherdata(directory): releasedata['year'] = re.sub(r"[^0-9]", "", tags['DATE']) releasedata['audioformat'] = format releasedata['bitrate'] = bitrate - releasedata['media'] = media + # releasedata['media'] = media releasedata['album_desc'] = album_description - releasedata['release_desc'] = release_description + releasedata['release_desc'] = torrentdescription releasedata['tags'] = unique_genre # Enable freeleech if arg is passed - if freeleech: - releasedata['freeleech'] = "true" + # if freeleech: + # releasedata['freeleech'] = "true" ## Language Checks # This is a required check as we don't want to enter non-english/romaji characters into the title/artist field.