Created
December 12, 2014 09:06
-
-
Save LBdN/6f4b95b8b174c56248c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def write_message(self, uuid, msg): | |
state = self.states[uuid] | |
with state.get_discussion(redis, msg.id_discussion) as disc: | |
disc.write(msg) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment