summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@animus.robocracy.org>2008-08-11 20:54:28 -0700
committerBryan Newbold <bnewbold@animus.robocracy.org>2008-08-11 20:54:28 -0700
commit0c17a5bb3d6b637f0197418f792045509b7e2d7b (patch)
tree72b760d118ff708fac2bfcdd7404084c315ae337
parentcc014f1d0b102bf9222fd7961546e3968fb46961 (diff)
downloadequator-0c17a5bb3d6b637f0197418f792045509b7e2d7b.tar.gz
equator-0c17a5bb3d6b637f0197418f792045509b7e2d7b.zip
fixed merge issueHEADmaster
-rw-r--r--equations/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/equations/models.py b/equations/models.py
index e644a37..6ced3f5 100644
--- a/equations/models.py
+++ b/equations/models.py
@@ -33,7 +33,8 @@ class Symbol(models.Model):
self.render = self.renderdir + "%s.png" % self.id
super(Symbol, self).save()
-dispatcher.connect(update_render, signal=signals.pre_save, sender=Symbol)
+signals.pre_save.connect(update_render, sender=Symbol)
+#dispatcher.connect(update_render, signal=signals.pre_save, sender=Symbol)
def update_generic_variable(sender, instance, signal, *args, **kwargs):
"""Checks if there is a generic variable associated with this