Commit c4865980 authored by Christoph Groth's avatar Christoph Groth
Browse files stop using deprecated function

parent 27fa8314
...@@ -307,7 +307,7 @@ def extensions(): ...@@ -307,7 +307,7 @@ def extensions():
config = configparser.ConfigParser() config = configparser.ConfigParser()
try: try:
with open(CONFIG_FILE) as f: with open(CONFIG_FILE) as f:
config.readfp(f) config.read_file(f)
except IOError: except IOError:
config_file_present = False config_file_present = False
else: else:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment