mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 03:30:05 -05:00
Fix a silly 'except e' (too much yavascrip in my life)
This commit is contained in:
parent
8fe4fbec1c
commit
5af90b01a2
6
main.py
6
main.py
@ -150,8 +150,10 @@ def main(args, prof):
|
||||
try:
|
||||
buf.tofile(args.rawfn + '.tmp')
|
||||
os.rename(args.rawfn + '.tmp', args.rawfn)
|
||||
except e:
|
||||
print 'Failed to write %s: %s' % (args.rawfn, e)
|
||||
except:
|
||||
import traceback
|
||||
print 'Failed to write %s: %s' % (args.rawfn,
|
||||
traceback.format_exc())
|
||||
print '%s (%3d/%3d), %dms' % (name, idx, len(times), evt.time())
|
||||
yield name, buf
|
||||
save(rdr.out, name, None)
|
||||
|
Loading…
Reference in New Issue
Block a user