Show More
@@ -105,7 +105,7 b' def pofile(fpath, **kwargs):' | |||
|
105 | 105 | ... finally: |
|
106 | 106 | ... os.unlink(tmpf) |
|
107 | 107 | """ |
|
108 |
if kwargs.get('autodetect_encoding', True) |
|
|
108 | if kwargs.get('autodetect_encoding', True): | |
|
109 | 109 | enc = detect_encoding(fpath) |
|
110 | 110 | else: |
|
111 | 111 | enc = kwargs.get('encoding', default_encoding) |
@@ -159,7 +159,7 b' def mofile(fpath, **kwargs):' | |||
|
159 | 159 | ... finally: |
|
160 | 160 | ... os.unlink(tmpf) |
|
161 | 161 | """ |
|
162 |
if kwargs.get('autodetect_encoding', True) |
|
|
162 | if kwargs.get('autodetect_encoding', True): | |
|
163 | 163 | enc = detect_encoding(fpath, True) |
|
164 | 164 | else: |
|
165 | 165 | enc = kwargs.get('encoding', default_encoding) |
General Comments 0
You need to be logged in to leave comments.
Login now