From ce8b114e32984b99e3ca8c06f0c620513228219a Mon Sep 17 00:00:00 2001
From: Jonathan Warren <git@jonwarren.org>
Date: Thu, 24 Jan 2013 12:25:48 -0500
Subject: [PATCH] fixed error concerning concatanation of string and int
 objects

---
 bitmessagemain.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bitmessagemain.py b/bitmessagemain.py
index 16f14b82..da74d5e9 100644
--- a/bitmessagemain.py
+++ b/bitmessagemain.py
@@ -3382,10 +3382,10 @@ class MyForm(QtGui.QMainWindow):
                     else:
                         toAddress = addBMIfNotPresent(toAddress)
                         if addressVersionNumber > 2 or addressVersionNumber == 0:
-                            QMessageBox.about(self, "Address version number", "Concerning the address "+toAddress+", Bitmessage cannot understand address version numbers of "+addressVersionNumber+". Perhaps upgrade Bitmessage to the latest version.")
+                            QMessageBox.about(self, "Address version number", "Concerning the address "+toAddress+", Bitmessage cannot understand address version numbers of "+str(addressVersionNumber)+". Perhaps upgrade Bitmessage to the latest version.")
                             continue
                         if streamNumber > 1 or streamNumber == 0:
-                            QMessageBox.about(self, "Stream number", "Concerning the address "+toAddress+", Bitmessage cannot handle stream numbers of "+addressVersionNumber+". Perhaps upgrade Bitmessage to the latest version.")
+                            QMessageBox.about(self, "Stream number", "Concerning the address "+toAddress+", Bitmessage cannot handle stream numbers of "+str(addressVersionNumber)+". Perhaps upgrade Bitmessage to the latest version.")
                             continue
                         self.statusBar().showMessage('')
                         try: