diff bin/curvecalc @ 717:d8202a0a7fd5

fix up musicpad and wavecurve. ascoltami2 can now use relative paths in the config Ignore-this: eb95f50f54f14275f1f031ccb7fbb97f
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 13 Jun 2012 04:27:48 +0000
parents 348b68723238
children e8f9f4815ab4
line wrap: on
line diff
--- a/bin/curvecalc	Tue Jun 12 09:46:04 2012 +0000
+++ b/bin/curvecalc	Wed Jun 13 04:27:48 2012 +0000
@@ -262,8 +262,8 @@
     subtermPath = graphPathForSubterms(song)
     try:
         graph.parse(subtermPath, format='n3')
-    except urllib2.URLError, e:
-        if e.reason.errno != 2:
+    except IOError, e:
+        if e.errno != 2:
             raise
         log.info("%s not found, starting with empty graph" % subtermPath)