~vomun-developers/anonplus/vomun-trunk

« back to all changes in this revision

Viewing changes to src/libs/friends.py

  • Committer: AJ00200
  • Date: 2011-11-19 22:25:58 UTC
  • Revision ID: git-v1:8f01f2fdde8de495106d18fd70d357d64bd71ff3
Encryption code is now working

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
        #if not self.connected and not system:
148
148
        #    print 'not connected: Message discarded. Message was: %s' % message
149
149
        #    return
150
 
        message = str(self.encryption.encrypt(data))
 
150
        message = self.encryption.encrypt(data)
151
151
        print('Encrypted: %s' % message)
152
152
        self.wconnection.send(message)
153
153