Workaround for package stuff.

git-svn-id: http://op25.osmocom.org/svn/trunk@196 65a5c917-d112-43f1-993d-58c26a4786be
This commit is contained in:
stevie 2009-12-17 21:14:40 +00:00
parent 9b4fe2d308
commit 21e12880d7
1 changed files with 8 additions and 1 deletions

View File

@ -27,13 +27,20 @@ import wx
import wx.html
import wx.wizard
from gnuradio import audio, eng_notation, fsk4, gr, gru, op25
from gnuradio import audio, eng_notation, gr, gru
from gnuradio.eng_option import eng_option
from gnuradio.wxgui import stdgui2, fftsink2, scopesink2
from math import pi
from optparse import OptionParser
from usrpm import usrp_dbid
# Python is doing strange things to our packages
# So we try to handle it here
try:
from gnuradio import fsk4, op25
except Exception:
import fsk4, op25
# The P25 receiver
#
class p25_rx_block (stdgui2.std_top_block):