[misc] Fix a coding issue. Fix #3399.

This commit is contained in:
Julien Pivotto 2007-08-28 19:38:42 +00:00
parent 388c012834
commit b44b905787
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class StanzaSession(object):
self.negotiated = {}
def generate_thread_id(self):
return "".join([random.choice(string.letters) for x in xrange(0,32)])
return "".join([random.choice(string.ascii_letters) for x in xrange(0,32)])
def send(self, msg):
if self.thread_id: