Show More
@@ -115,6 +115,9 b' class config(object):' | |||||
115 |
|
115 | |||
116 | for l in data.splitlines(True): |
|
116 | for l in data.splitlines(True): | |
117 | line += 1 |
|
117 | line += 1 | |
|
118 | if line == 1 and l.startswith('\xef\xbb\xbf'): | |||
|
119 | # Someone set us up the BOM | |||
|
120 | l = l[3:] | |||
118 | if cont: |
|
121 | if cont: | |
119 | if commentre.match(l): |
|
122 | if commentre.match(l): | |
120 | continue |
|
123 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now