commit | 5e59f9288d2af23cbe2f20518511e118baef1630 | [log] [tgz] |
---|---|---|
author | winterfroststrom <winterfroststrom@users.noreply.github.com> | Fri Jun 22 13:03:34 2018 -0700 |
committer | GitHub <noreply@github.com> | Fri Jun 22 13:03:34 2018 -0700 |
tree | 32132b6e0ca79c435c3abb542681f60ac3917f54 | |
parent | 811e52a95fd8c35253dbd918cd7fcbda8a78369b [diff] |
Fix missing io.open in monsoon.py (#466)
diff --git a/mobly/controllers/monsoon.py b/mobly/controllers/monsoon.py index 314bfbd..bf00f9c 100644 --- a/mobly/controllers/monsoon.py +++ b/mobly/controllers/monsoon.py
@@ -143,7 +143,7 @@ if not dev.startswith(prefix): continue tmpname = "/tmp/monsoon.%s.%s" % (os.uname()[0], dev) - self._tempfile = open(tmpname, "w", encoding='utf-8') + self._tempfile = io.open(tmpname, "w", encoding='utf-8') try: os.chmod(tmpname, 0o666) except OSError as e: