diff --git a/telegram/contact.py b/telegram/contact.py index dd7edb768..045b291c3 100644 --- a/telegram/contact.py +++ b/telegram/contact.py @@ -30,4 +30,4 @@ class Contact(Base): json_data['last_name'] = self.last_name if self.user_id: json_data['user_id'] = self.user_id - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/document.py b/telegram/document.py index 65acf1611..6e9eb2827 100644 --- a/telegram/document.py +++ b/telegram/document.py @@ -41,4 +41,4 @@ class Document(Base): json_data['mime_type'] = self.mime_type if self.file_size: json_data['file_size'] = self.file_size - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/forcereply.py b/telegram/forcereply.py index e531f371b..28be1fd43 100644 --- a/telegram/forcereply.py +++ b/telegram/forcereply.py @@ -21,4 +21,4 @@ class ForceReply(ReplyMarkup): json_data = {'force_reply': self.force_reply} if self.selective: json_data['selective'] = self.selective - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/groupchat.py b/telegram/groupchat.py index aa6d707e5..1f28c9c36 100644 --- a/telegram/groupchat.py +++ b/telegram/groupchat.py @@ -20,4 +20,4 @@ class GroupChat(Base): def to_json(self): json_data = {'id': self.id, 'title': self.title} - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/location.py b/telegram/location.py index 66de52d82..4a1942b69 100644 --- a/telegram/location.py +++ b/telegram/location.py @@ -20,4 +20,4 @@ class Location(Base): def to_json(self): json_data = {'longitude': self.longitude, 'latitude': self.latitude} - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/message.py b/telegram/message.py index 62295ad31..ccc26f14e 100644 --- a/telegram/message.py +++ b/telegram/message.py @@ -203,4 +203,4 @@ class Message(Base): json_data['delete_chat_photo'] = self.delete_chat_photo if self.group_chat_created: json_data['group_chat_created'] = self.group_chat_created - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/photosize.py b/telegram/photosize.py index 5ee587ab7..6e4db482c 100644 --- a/telegram/photosize.py +++ b/telegram/photosize.py @@ -29,4 +29,4 @@ class PhotoSize(Base): 'height': self.height} if self.file_size: json_data['file_size'] = self.file_size - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/replymarkup.py b/telegram/replymarkup.py index de6992a89..86b4166d4 100644 --- a/telegram/replymarkup.py +++ b/telegram/replymarkup.py @@ -4,4 +4,4 @@ from .telegram_boject_base import Base class ReplyMarkup(Base): def to_json(self): - raise NotImplementedError \ No newline at end of file + raise NotImplementedError diff --git a/telegram/sticker.py b/telegram/sticker.py index 536dcbe97..42c4b08fd 100644 --- a/telegram/sticker.py +++ b/telegram/sticker.py @@ -39,4 +39,4 @@ class Sticker(Base): 'thumb': self.thumb.to_json()} if self.file_size: json_data['file_size'] = self.file_size - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/update.py b/telegram/update.py index daf85ad45..df3fd0666 100644 --- a/telegram/update.py +++ b/telegram/update.py @@ -27,4 +27,4 @@ class Update(Base): json_data = {'update_id': self.update_id} if self.message: json_data['message'] = self.message.to_json() - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/user.py b/telegram/user.py index d8e61412e..356c46c95 100644 --- a/telegram/user.py +++ b/telegram/user.py @@ -38,4 +38,4 @@ class User(Base): json_data['last_name'] = self.last_name if self.username: json_data['username'] = self.username - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/userprofilephotos.py b/telegram/userprofilephotos.py index c583585e4..b6e1eddfe 100644 --- a/telegram/userprofilephotos.py +++ b/telegram/userprofilephotos.py @@ -33,4 +33,4 @@ class UserProfilePhotos(Base): json_data['photos'] = [] for photo in self.photos: json_data['photos'].append([x.to_json() for x in photo]) - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data) diff --git a/telegram/video.py b/telegram/video.py index 3689bdd98..093f15b5c 100644 --- a/telegram/video.py +++ b/telegram/video.py @@ -53,4 +53,4 @@ class Video(Base): json_data['file_size'] = self.file_size if self.caption: json_data['caption'] = self.caption - return json.dumps(json_data) \ No newline at end of file + return json.dumps(json_data)