changed and saved code not actually run in Deluge

changed and saved code not actually run in Deluge

I've changed and saved code in Deluge, but when I run it, it runs the old code.
However, when I then look at the code I saved, it still displays the new code, even though it runs the old code.

This lag takes a few minutes, and then suddenly without any input, it runs the new code.

odd...