summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--live-mogrify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/live-mogrify.py b/live-mogrify.py
index c2c38d8..86e82b7 100644
--- a/live-mogrify.py
+++ b/live-mogrify.py
@@ -250,7 +250,7 @@ class Listener():
self.data_opt.epoch = epoch
self.data_opt.load_checkpoint = True
return 'ok'
- if cmd == 'load_sequence' and os.path.exists(os.path.join('./sequences/', opt.module_name, payload)):
+ if cmd == 'load_sequence' and os.path.exists(os.path.join('./sequences/', self.opt.module_name, payload)):
print('load sequence: {}'.format(payload))
self.data_opt.sequence_name = payload
self.data_opt.load_sequence = True