mirror of
https://github.com/ARM-software/devlib.git
synced 2025-04-02 16:07:51 +01:00
Merge pull request #195 from bjackman/fix-logcat-logfile
LogcatMonitor: Fix opening logfile for write
This commit is contained in:
commit
3056e333e1
@ -575,7 +575,7 @@ class LogcatMonitor(object):
|
||||
:type outfile: str
|
||||
"""
|
||||
if outfile:
|
||||
self._logfile = open(outfile)
|
||||
self._logfile = open(outfile, 'w')
|
||||
else:
|
||||
self._logfile = tempfile.NamedTemporaryFile()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user