Skip to content

Commit

Permalink
Fix lines too long
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrotoledo committed Aug 19, 2015
1 parent ba5902c commit 32dc05e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions telegram/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ def de_json(data):

if 'new_chat_photo' in data:
from telegram import PhotoSize
new_chat_photo = [PhotoSize.de_json(x) for x in data['new_chat_photo']]
new_chat_photo = \
[PhotoSize.de_json(x) for x in data['new_chat_photo']]
else:
new_chat_photo = None

Expand Down Expand Up @@ -248,7 +249,8 @@ def to_dict(self):
if self.new_chat_participant:
data['new_chat_participant'] = self.new_chat_participant.to_dict()
if self.left_chat_participant:
data['left_chat_participant'] = self.left_chat_participant.to_dict()
data['left_chat_participant'] = \
self.left_chat_participant.to_dict()
if self.new_chat_title:
data['new_chat_title'] = self.new_chat_title
if self.new_chat_photo:
Expand Down

0 comments on commit 32dc05e

Please sign in to comment.