Fix case when only module name is passed

Still crashes and query cache, will fix later
This commit is contained in:
DarkPhoenix
2018-11-20 13:51:49 +03:00
parent 60ecc95049
commit b9c3675894

View File

@@ -31,7 +31,7 @@ class FitImportMutatedCommand(wx.Command):
return False
mutaplasmid = getDynamicItem(getattr(self.mutaItem, 'ID'))
mutaplasmid = getDynamicItem(getattr(self.mutaItem, 'ID', None))
# Try to build simple item even though no mutaplasmid found
if mutaplasmid is None:
try: