Cabbage Logo
Back to Cabbage Site

Cabbage does not see changes in a string used in py* opcode

I have this function defined:
pyruni {{
def append(inst, st, dur,note, vel):
with open(‘score11.sco’, ‘a’) as file:
file.write(“i %s %s %s %s %s\n” % (inst, st, dur, note, vel))
}}

Previously I had the wrong string
file.write(“i %s %s %s %s %s /r/n” % (inst, st, dur, note, vel))

But the above change is not detected, the file still prints the previous version of the string…

Richard