From 2af45fd3fe9df87f1d6ef53f282d872889ead17f Mon Sep 17 00:00:00 2001 From: Jesse Mullan Date: Sun, 26 Oct 2014 08:49:09 -0700 Subject: [PATCH] Fix new variables --- headphones/cuesplit.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/headphones/cuesplit.py b/headphones/cuesplit.py index fc7f3ea4..443ce98d 100755 --- a/headphones/cuesplit.py +++ b/headphones/cuesplit.py @@ -572,14 +572,14 @@ def split(albumpath): xldprofile = None # use xld profile to split cue - if headphones.ENCODER == 'xld' and headphones.MUSIC_ENCODER and headphones.XLDPROFILE: + if headphones.CONFIG.ENCODER == 'xld' and headphones.CONFIG.MUSIC_ENCODER and headphones.CONFIG.XLDPROFILE: import getXldProfile - xldprofile, xldformat, _ = getXldProfile.getXldProfile(headphones.XLDPROFILE) + xldprofile, xldformat, _ = getXldProfile.getXldProfile(headphones.CONFIG.XLDPROFILE) if not xldformat: raise ValueError('Details for xld profile "%s" not found, cannot split cue' % (xldprofile)) else: - if headphones.ENCODERFOLDER: - splitter = os.path.join(headphones.ENCODERFOLDER, 'xld') + if headphones.CONFIG.ENCODERFOLDER: + splitter = os.path.join(headphones.CONFIG.ENCODERFOLDER, 'xld') else: splitter = 'xld' # use standard xld command to split cue