summaryrefslogtreecommitdiff
path: root/grc/scripts/grc
diff options
context:
space:
mode:
Diffstat (limited to 'grc/scripts/grc')
-rwxr-xr-xgrc/scripts/grc4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/scripts/grc b/grc/scripts/grc
index 8a6cc0af4..a4115c39f 100755
--- a/grc/scripts/grc
+++ b/grc/scripts/grc
@@ -30,7 +30,7 @@ Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?""
d.run()
exit(-1)
-from gnuradio.grc import VERSION
+from gnuradio import gr
from optparse import OptionParser
if __name__ == "__main__":
@@ -42,7 +42,7 @@ This program is part of GNU Radio
GRC comes with ABSOLUTELY NO WARRANTY.
This is free software,
and you are welcome to redistribute it.
-"""%VERSION
+"""%gr.version()
parser = OptionParser(usage=usage, version=version)
(options, args) = parser.parse_args()
from gnuradio.grc.python.Platform import Platform