Simplify setup of gaa_conf.
Now done on one line in the main file.
This commit is contained in:
parent
811979cea7
commit
d7fb3f78f9
@ -21,8 +21,8 @@ cmd_options = option_set.parse_args()
|
||||
# conf_path = os.path.join(os.path.expanduser("~"), ".local/share/get_artist_art/config.ini")
|
||||
|
||||
# config.read(conf_path)
|
||||
config = gaa_conf()
|
||||
config = config.conf
|
||||
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