Revision: 4267
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4267&view=rev
Author: mdboom
Date: 2007-11-14 05:58:08 -0800 (Wed, 14 Nov 2007)
Log Message:
-----------
Fix bug when clicking "Cancel" in the save dialog in TkAgg backend.
(Thanks Michael Zell).
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/backends/backend_tkagg.py
Modified: trunk/matplotlib/lib/matplotlib/backends/backend_tkagg.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_tkagg.py 2007-11-14
13:09:14 UTC (rev 4266)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_tkagg.py 2007-11-14
13:58:08 UTC (rev 4267)
@@ -680,7 +680,7 @@
defaultextension = self.canvas.get_default_filetype()
)
- if fname == "" :
+ if fname == "" or fname == ():
return
else:
try:
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins