mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-07-08 08:28:42 -04:00
use py2-style ConfigParser-get-methods
This commit is contained in:
parent
4329ad2e11
commit
6e7922492a
1 changed files with 2 additions and 3 deletions
|
@ -16,7 +16,6 @@ def parse_config(config_path):
|
||||||
config.has_option('General', 'outputfile')):
|
config.has_option('General', 'outputfile')):
|
||||||
raise InvalidConfig
|
raise InvalidConfig
|
||||||
|
|
||||||
general = config['General']
|
log_path = abspath(config.get('General', 'logfile'))
|
||||||
log_path = abspath(general['logfile'])
|
output_path = abspath(config.get('General', 'outputfile'))
|
||||||
output_path = abspath(general['outputfile'])
|
|
||||||
return log_path, output_path
|
return log_path, output_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue