Author: bugman Date: Mon Mar 2 17:35:33 2009 New Revision: 8896 URL: http://svn.gna.org/viewcvs/relax?rev=8896&view=rev Log: Fixed the check for None in molecule.name(). Modified: 1.3/prompt/molecule.py Modified: 1.3/prompt/molecule.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/molecule.py?rev=8896&r1=8895&r2=8896&view=diff ============================================================================== --- 1.3/prompt/molecule.py (original) +++ 1.3/prompt/molecule.py Mon Mar 2 17:35:33 2009 @@ -242,7 +242,7 @@ print text # Residue identification string. - if mol_id and type(mol_id) != str: + if mol_id != None and type(mol_id) != str: raise RelaxNoneStrError, ('molecule identification string', mol_id) # New molecule name.