projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe16b4e
)
--debug
author
Bernhard Tittelbach
<xro@realraum.at>
Thu, 10 Sep 2009 15:19:43 +0000
(15:19 +0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Thu, 10 Sep 2009 15:19:43 +0000
(15:19 +0000)
update-web-status.py
patch
|
blob
|
history
diff --git
a/update-web-status.py
b/update-web-status.py
index
801ac8f
..
437021a
100755
(executable)
--- a/
update-web-status.py
+++ b/
update-web-status.py
@@
-33,7
+33,7
@@
sendxmpp_firstmsg = True
def sendXmppMsg(recipients, msg, resource = "torwaechter", addtimestamp = True, noofflinemsg = False):
if type(recipients) == types.ListType:
recipients = " ".join(recipients)
- if type(recipients) == type.UnicodeType:
+ if type(recipients) == types.UnicodeType:
recipients = recipients.decode("utf-8")
if type(recipients) != types.StringType:
raise Exception("list of recipients in unknown format, can't send message")