summaryrefslogtreecommitdiff
path: root/src/config.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-03-30 15:57:43 +0200
committermathieui <mathieui@mathieui.net>2012-03-30 15:57:43 +0200
commit372b032380ff3703f1458fd965f5a8431c53f7bc (patch)
treec25792a8c3e05c08def5f477ad111e048c482c00 /src/config.py
parent12e6de0cdcf5f3cda318283c7c20402b9615824d (diff)
downloadpoezio-372b032380ff3703f1458fd965f5a8431c53f7bc.tar.gz
poezio-372b032380ff3703f1458fd965f5a8431c53f7bc.tar.bz2
poezio-372b032380ff3703f1458fd965f5a8431c53f7bc.tar.xz
poezio-372b032380ff3703f1458fd965f5a8431c53f7bc.zip
Should fix the refresh issue
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.py b/src/config.py
index d0320a0a..b4b07491 100644
--- a/src/config.py
+++ b/src/config.py
@@ -109,7 +109,7 @@ class Config(RawConfigParser):
exist
"""
df = open(self.file_name, 'r')
- lines_before = [line.strip() for line in df.readlines()]
+ lines_before = (line.strip() for line in df.readlines())
df.close()
result_lines = []
we_are_in_the_right_section = False