Fixed unpacking bug in post processing and wrong import in the CLI

This commit is contained in:
Kepoor Hampond 2017-04-15 17:45:24 -07:00
parent 7aed3442f3
commit cca726a1bf
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -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 != []: