diff options
author | Grissess <grissess@nexusg.org> | 2015-08-23 23:49:11 -0400 |
---|---|---|
committer | Grissess <grissess@nexusg.org> | 2015-08-23 23:49:11 -0400 |
commit | aea344e6f7c013dbc0abfe89bad430cf29136f7e (patch) | |
tree | a7fb538283a673d39cf3808a8d5cd18e3bf9a4ef /mkiv.py | |
parent | 62e18f0871161cc0481e700aacc5fdc7d2e32a0d (diff) |
Partial commit (last from cosi02!)
Diffstat (limited to 'mkiv.py')
-rw-r--r-- | mkiv.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -72,7 +72,13 @@ if options.fuckit: midi.read_midifile = fuckit(midi.read_midifile) for fname in args: - pat = midi.read_midifile(fname) + try: + pat = midi.read_midifile(fname) + except Exception: + import traceback + traceback.print_exc() + print fname, ': Exception occurred, skipping...' + continue if pat is None: print fname, ': Too fucked to continue' continue |