Mercurial > code > home > repos > light9
diff bin/curvecalc @ 216:233ee9b1e561
checked the showconfig patch and fixed bugs
author | drewp@bigasterisk.com |
---|---|
date | Sun, 17 Apr 2005 02:33:14 +0000 |
parents | 2072a0dd7b19 |
children | 9827df597f86 |
line wrap: on
line diff
--- a/bin/curvecalc Sun Apr 17 02:24:29 2005 +0000 +++ b/bin/curvecalc Sun Apr 17 02:33:14 2005 +0000 @@ -19,7 +19,7 @@ from light9.zoomcontrol import Zoomcontrol from light9.curve import Curve, Curveview, Curveset, Curvesetview -sys.path.append("../../semprini") +sys.path.extend(["../semprini","../../semprini"]) from lengther import wavelength # for measuring duration of .wav class Music: @@ -249,7 +249,7 @@ subterms = [] subterm_adder(root, curveset, subterms, root, ssv).pack(side='top',fill='x') -for line in file(showconfig.subtermsForSong()): +for line in file(showconfig.subtermsForSong(song)): subname,expr = line.strip().split(" ",1) term = add_one_subterm(subname, curveset, subterms, root, ssv, expr)