Skip to content

Commit

Permalink
Fix a bug caused by renaming. Refs #6555.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou authored and peterfpeterson committed Apr 12, 2013
1 parent 382e072 commit f925cca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def constructPythonScript(self, paramdict):
"""
# 1. Obtain all information
runsetupdict = paramdict["RunSetupWidget"]
advsetupdict = paramdict["VanadiumSetupWidget"]
advsetupdict = paramdict["AdvancedSetupWidget"]
filterdict = paramdict["FilterSetupWidget"]

# 2. Obtain some information
Expand Down Expand Up @@ -351,7 +351,7 @@ def _synInstrument(self):
for observer in self._observers:
observertype = observer._subject.__class__.__name__
print "[ToScript] Observer Type = ", observertype
if observertype.count("VanadiumSetupWidget") == 1:
if observertype.count("AdvancedWidget") == 1:
self.instrument_name = observer._subject._instrument_name

return
Expand Down

0 comments on commit f925cca

Please sign in to comment.