Index: /issm/trunk-jpl/src/m/mesh/triangle.py
===================================================================
--- /issm/trunk-jpl/src/m/mesh/triangle.py	(revision 21173)
+++ /issm/trunk-jpl/src/m/mesh/triangle.py	(revision 21174)
@@ -45,6 +45,6 @@
 
 	#Check that file exist (this is a very very common mistake)
-	if not os.path.exists(domainfile):
-		raise IOError("file '%s' not found" % domainfile)
+	if not os.path.exists(domainname):
+		raise IOError("file '%s' not found" % domainname)
 
 	#Mesh using TriMesh
