summaryrefslogtreecommitdiff
path: root/grc/gui/Notebook.py
diff options
context:
space:
mode:
authorHåkon Vågsether <haakonsv@gmail.com>2017-09-30 19:35:09 +0200
committerSebastian Koslowski <sebastian.koslowski@gmail.com>2017-09-30 19:40:00 +0200
commit3d019e5138958d367be6ad47587adc7c3efb01c7 (patch)
treec2105fae0a4b7dacceea55c7bfd298ec6321d57b /grc/gui/Notebook.py
parent7b0c5af6c3b5bdc66fc425049673aa04f6067262 (diff)
[grc] better path handling in generator (merges #1473)
Diffstat (limited to 'grc/gui/Notebook.py')
-rw-r--r--grc/gui/Notebook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/Notebook.py b/grc/gui/Notebook.py
index 21db913c0e..9f63190b31 100644
--- a/grc/gui/Notebook.py
+++ b/grc/gui/Notebook.py
@@ -151,7 +151,7 @@ class Page(Gtk.HBox):
generator
"""
platform = self.flow_graph.parent_platform
- return platform.Generator(self.flow_graph, self.file_path)
+ return platform.Generator(self.flow_graph, os.path.dirname(self.file_path))
def _handle_button(self, button):
"""