Fix error string catenation in usrp_p25_rx_gl.py

git-svn-id: http://op25.osmocom.org/svn/trunk@274 65a5c917-d112-43f1-993d-58c26a4786be
This commit is contained in:
stevie 2011-04-02 09:42:31 +00:00
parent 8c345744d5
commit c038cd01d4
1 changed files with 2 additions and 2 deletions

View File

@ -556,7 +556,7 @@ class p25_rx_block (stdgui2.std_top_block):
self._set_titlebar(capture_file)
self._set_state("RUNNING")
except Exception, x:
wx.MessageBox("Cannot open capture file: " + x.message, "File Error", wx.CANCEL | wx.ICON_EXCLAMATION)
wx.MessageBox("Cannot open capture file: " + x.str(), "File Error", wx.CANCEL | wx.ICON_EXCLAMATION)
# Open the USRP
#
@ -571,7 +571,7 @@ class p25_rx_block (stdgui2.std_top_block):
self._set_titlebar("Capturing")
self._set_state("CAPTURING")
except Exception, x:
wx.MessageBox("Cannot open USRP: " + x, "USRP Error", wx.CANCEL | wx.ICON_EXCLAMATION)
wx.MessageBox("Cannot open USRP: " + x.str(), "USRP Error", wx.CANCEL | wx.ICON_EXCLAMATION)
print x