aboutsummaryrefslogtreecommitdiff
path: root/mkiv.py
diff options
context:
space:
mode:
authorGrissess <grissess@nexusg.org>2015-08-23 23:49:11 -0400
committerGrissess <grissess@nexusg.org>2015-08-23 23:49:11 -0400
commitaea344e6f7c013dbc0abfe89bad430cf29136f7e (patch)
treea7fb538283a673d39cf3808a8d5cd18e3bf9a4ef /mkiv.py
parent62e18f0871161cc0481e700aacc5fdc7d2e32a0d (diff)
Partial commit (last from cosi02!)
Diffstat (limited to 'mkiv.py')
-rw-r--r--mkiv.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/mkiv.py b/mkiv.py
index 5f5ea38..1cee6ed 100644
--- a/mkiv.py
+++ b/mkiv.py
@@ -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