summaryrefslogtreecommitdiffstats
path: root/src/Hooks/sitecustomize.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hooks/sitecustomize.py')
-rw-r--r--src/Hooks/sitecustomize.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Hooks/sitecustomize.py b/src/Hooks/sitecustomize.py
index 5787c03f..71d8c4e1 100644
--- a/src/Hooks/sitecustomize.py
+++ b/src/Hooks/sitecustomize.py
@@ -21,6 +21,7 @@ try:
# this should strip
line = config.readline().lower().replace(' ','').strip('\n').split('=')
conf[line[0]] = line[1]
+ config.close()
except:
# Ignore silently everything, because we don't want to bother user
# if this hook doesn't work.