Fix typo filepath -> filename when saving graph
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user