Remove old code.
Remove the old config setup code.
This commit is contained in:
parent
d7fb3f78f9
commit
e73e27b954
@ -14,15 +14,7 @@ jls_extract_var = f'%(prog)s {gaa_version}'
|
||||
option_set.add_argument('--version', '-v', action='version', version=jls_extract_var)
|
||||
cmd_options = option_set.parse_args()
|
||||
|
||||
# config = configparser.ConfigParser()
|
||||
# if (os.path.exists('config.ini')):
|
||||
# conf_path = 'config.ini'
|
||||
# else:
|
||||
# conf_path = os.path.join(os.path.expanduser("~"), ".local/share/get_artist_art/config.ini")
|
||||
|
||||
# config.read(conf_path)
|
||||
config = gaa_conf().conf
|
||||
# config = config.conf
|
||||
|
||||
music_path = config['music']['dir']
|
||||
ftv_api_key = config['fanart_tv']['api_key']
|
||||
|
Loading…
x
Reference in New Issue
Block a user