diff options
author | jblum | 2008-08-14 19:20:58 +0000 |
---|---|---|
committer | jblum | 2008-08-14 19:20:58 +0000 |
commit | c3c6eb14f1d8b250322f63fb6b6adc3fb60c67eb (patch) | |
tree | 139b11884af28e3c1558b75f9ebbb883a5177932 /gr-wxgui/src/python/scopesink2.py | |
parent | 36649d4e472172fe840444ac0268c7b6b4da94b4 (diff) | |
download | gnuradio-c3c6eb14f1d8b250322f63fb6b6adc3fb60c67eb.tar.gz gnuradio-c3c6eb14f1d8b250322f63fb6b6adc3fb60c67eb.tar.bz2 gnuradio-c3c6eb14f1d8b250322f63fb6b6adc3fb60c67eb.zip |
changed glcanvas test (fedora fix)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9292 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-wxgui/src/python/scopesink2.py')
-rw-r--r-- | gr-wxgui/src/python/scopesink2.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gr-wxgui/src/python/scopesink2.py b/gr-wxgui/src/python/scopesink2.py index 5eee3efd5..4d9f33afc 100644 --- a/gr-wxgui/src/python/scopesink2.py +++ b/gr-wxgui/src/python/scopesink2.py @@ -32,9 +32,8 @@ if style == 'nongl': from scopesink_nongl import scope_sink_f, scope_sink_c elif style == 'gl': try: - import wx - wx.glcanvas.GLCanvas - except AttributeError: + import wx.glcanvas + except ImportError: raise RuntimeError("wxPython doesn't support glcanvas") try: |