Changes between Version 1 and Version 2 of Ticket #12299, comment 173


Ignore:
Timestamp:
07/13/12 19:34:40 (9 years ago)
Author:
jhpalmieri
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12299, comment 173

    v1 v2  
    55--- a/sage/interfaces/jmoldata.py
    66+++ b/sage/interfaces/jmoldata.py
    7 @@ -87,7 +87,12 @@ class JmolData(SageObject):
     7@@ -87,12 +87,14 @@ class JmolData(SageObject):
    88         scratchout = os.path.join(jmolscratch,"jmolout.txt")
    99         jout=open(scratchout,'w')
     
    1717+            result = False
    1818         jout.close()
    19          if (result == 0):
    20              return (True)
     19-        if (result == 0):
     20-            return (True)
     21-        else:
     22-            return (False)
     23+        return result
     24 
     25     def export_image(self,
     26         targetfile,
    2127}}}