Fix typo filepath -> filename when saving graph

This commit is contained in:
Cédric Krier committed 2011-07-22 15:42:56 +02:00
1 parent 5a9f74b8ac
commit ed30f1b3f4
1 file changed
+1 -1
@@ -77,7 +77,7 @@ def save(widget, graph, window):
filename = filename.decode('utf-8')
try:
CONFIG['client.default_path'] = \
os.path.dirname(filepath)
os.path.dirname(filename)
CONFIG.save()
except IOError:
pass