Changes in / [acde566:eabdddf] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/model_editor.py
r1c206d9 r23359ccb 332 332 msg = ("%s is not a valid Python name. Only alphanumeric \n" \ 333 333 "and underscore allowed" % self.name) 334 334 335 335 #Now check if the name already exists 336 336 if not self.overwrite_name and self.good_name: … … 338 338 list_fnames = os.listdir(self.plugin_dir) 339 339 # fake existing regular model name list 340 m_list = [model + ".py" for model in self.model_list]340 m_list = [model.name + ".py" for model in self.model_list] 341 341 list_fnames.append(m_list) 342 342 if t_fname in list_fnames and title != mname:
Note: See TracChangeset
for help on using the changeset viewer.