fixed inverted conditional

This commit is contained in:
Tyler Earnest 2017-05-05 16:50:06 -05:00
parent 70e1169fe7
commit d465c35e89

View File

@ -51,9 +51,9 @@ def system_path(path):
def _open(path, mode):
if 'b' in mode:
return open(system_path(path), mode, encoding='utf-8')
else:
return open(system_path(path), mode)
else:
return open(system_path(path), mode, encoding='utf-8')
def check_file(path, fail=True):