commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 14/18: grc-refactor: fix fg load


From: git
Subject: [Commit-gnuradio] [gnuradio] 14/18: grc-refactor: fix fg load
Date: Sun, 24 Apr 2016 19:19:37 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 061af3f319ee69612782d99f79029ee4507c3589
Author: Sebastian Koslowski <address@hidden>
Date:   Tue Apr 5 22:31:52 2016 +0200

    grc-refactor: fix fg load
---
 grc/core/FlowGraph.py  | 2 +-
 grc/gui/Preferences.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py
index af6d35f..a6c1a00 100644
--- a/grc/core/FlowGraph.py
+++ b/grc/core/FlowGraph.py
@@ -436,7 +436,7 @@ class FlowGraph(Element):
                 if not key.isdigit() and port.get_type() == '' and key == 
port.get_name():
                     break
             else:
-                if block.is_dummy_block():
+                if block.is_dummy_block:
                     port = _dummy_block_add_port(block, key, dir)
                 else:
                     raise LookupError('%s key %r not in %s block keys' % (dir, 
key, dir))
diff --git a/grc/gui/Preferences.py b/grc/gui/Preferences.py
index ad2206c..1a194fd 100644
--- a/grc/gui/Preferences.py
+++ b/grc/gui/Preferences.py
@@ -35,7 +35,7 @@ _config_parser = ConfigParser.SafeConfigParser()
 
 
 def file_extension():
-    return '.'+_platform.get_key()
+    return '.grc'
 
 
 def load(platform):



reply via email to

[Prev in Thread] Current Thread [Next in Thread]