We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d16cd2e commit 3f570cdCopy full SHA for 3f570cd
update.py
@@ -23,7 +23,7 @@
23
# Log to a timestamped log file
24
def log(out, err):
25
curTime = datetime.time(datetime.now()).isoformat()
26
- f = open(workingDir + '/error.log' + curTime)
+ f = open(workingDir + '/error.log' + curTime, 'w')
27
f.write('Could not update incrontab for %s' % changedDir + '\n')
28
f.write('Failed output: \n')
29
f.write(out + '\n')
0 commit comments