Skip to content

Commit ded002a

Browse files
committed
Adding newline at EOF
1 parent 82f1496 commit ded002a

13 files changed

Lines changed: 13 additions & 13 deletions

telegram/contact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ def to_json(self):
3030
json_data['last_name'] = self.last_name
3131
if self.user_id:
3232
json_data['user_id'] = self.user_id
33-
return json.dumps(json_data)
33+
return json.dumps(json_data)

telegram/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ def to_json(self):
4141
json_data['mime_type'] = self.mime_type
4242
if self.file_size:
4343
json_data['file_size'] = self.file_size
44-
return json.dumps(json_data)
44+
return json.dumps(json_data)

telegram/forcereply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ def to_json(self):
2121
json_data = {'force_reply': self.force_reply}
2222
if self.selective:
2323
json_data['selective'] = self.selective
24-
return json.dumps(json_data)
24+
return json.dumps(json_data)

telegram/groupchat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ def de_json(data):
2020
def to_json(self):
2121
json_data = {'id': self.id,
2222
'title': self.title}
23-
return json.dumps(json_data)
23+
return json.dumps(json_data)

telegram/location.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ def de_json(data):
2020
def to_json(self):
2121
json_data = {'longitude': self.longitude,
2222
'latitude': self.latitude}
23-
return json.dumps(json_data)
23+
return json.dumps(json_data)

telegram/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,4 @@ def to_json(self):
203203
json_data['delete_chat_photo'] = self.delete_chat_photo
204204
if self.group_chat_created:
205205
json_data['group_chat_created'] = self.group_chat_created
206-
return json.dumps(json_data)
206+
return json.dumps(json_data)

telegram/photosize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ def to_json(self):
2929
'height': self.height}
3030
if self.file_size:
3131
json_data['file_size'] = self.file_size
32-
return json.dumps(json_data)
32+
return json.dumps(json_data)

telegram/replymarkup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
class ReplyMarkup(Base):
66
def to_json(self):
7-
raise NotImplementedError
7+
raise NotImplementedError

telegram/sticker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ def to_json(self):
3939
'thumb': self.thumb.to_json()}
4040
if self.file_size:
4141
json_data['file_size'] = self.file_size
42-
return json.dumps(json_data)
42+
return json.dumps(json_data)

telegram/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ def to_json(self):
2727
json_data = {'update_id': self.update_id}
2828
if self.message:
2929
json_data['message'] = self.message.to_json()
30-
return json.dumps(json_data)
30+
return json.dumps(json_data)

0 commit comments

Comments
 (0)