From cca726a1bf161ba1a6d24737a5a1fbaf1a47b287 Mon Sep 17 00:00:00 2001 From: Kepoor Hampond Date: Sat, 15 Apr 2017 17:45:24 -0700 Subject: [PATCH] Fixed unpacking bug in post processing and wrong import in the CLI --- irs/cli.py | 4 ++-- irs/ripper.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/irs/cli.py b/irs/cli.py index b34d96a..c2456af 100644 --- a/irs/cli.py +++ b/irs/cli.py @@ -7,7 +7,7 @@ import os # Powered by: from .ripper import Ripper -from .utils import console, parse_default_flags +from .utils import Config, console def main(): @@ -39,7 +39,7 @@ directory to place files in.") parser.add_argument("-c", "--config", dest="config", action="store_true", help="Display path to config file.") - args = parser.parse_args(parse_default_flags()) + args = parser.parse_args(Config.parse_default_flags()) if args.config: import irs diff --git a/irs/ripper.py b/irs/ripper.py index c73b99e..48a51f3 100644 --- a/irs/ripper.py +++ b/irs/ripper.py @@ -78,7 +78,7 @@ class Ripper: file_name = loc.split("/")[-1] else: file_name = loc - artist, album = mp3.read_tag("artist")[0] + artist = mp3.read_tag("artist")[0] album = mp3.read_tag("album") new_loc += ObjManip.blank(artist, False) if album != []: