summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/caldav/calcurse-caldav.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py
index 7b9b56c..009a443 100755
--- a/contrib/caldav/calcurse-caldav.py
+++ b/contrib/caldav/calcurse-caldav.py
@@ -566,7 +566,7 @@ config = configparser.RawConfigParser()
if verbose:
print('Loading configuration from ' + configfn + '...')
try:
- config.readfp(open(configfn))
+ config.read_file(open(configfn))
except FileNotFoundError as e:
die('Configuration file not found: {}'.format(configfn))