Skip to content

Commit 5dc165e

Browse files
author
prostomarkeloff
authored
fix errors
1 parent 71d432f commit 5dc165e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

vk_api/keyboard.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ def add_location_button(self, payload=None):
124124
current_line = self.lines[-1]
125125

126126
if len(current_line) != 0:
127-
raise ValueError('
128-
This type of button takes the entire width of the line'
127+
raise ValueError(
128+
'This type of button takes the entire width of the line'
129129
)
130130

131131
if payload is not None and not isinstance(payload, six.string_types):
@@ -154,8 +154,8 @@ def add_vkpay_button(self, hash, payload=None):
154154
current_line = self.lines[-1]
155155

156156
if len(current_line) != 0:
157-
raise ValueError('
158-
This type of button takes the entire width of the line'
157+
raise ValueError(
158+
'This type of button takes the entire width of the line'
159159
)
160160

161161
if payload is not None and not isinstance(payload, six.string_types):
@@ -192,8 +192,8 @@ def add_vkapps_button(self, app_id, owner_id, label, hash, payload=None):
192192
current_line = self.lines[-1]
193193

194194
if len(current_line) != 0:
195-
raise ValueError('
196-
This type of button takes the entire width of the line'
195+
raise ValueError(
196+
'This type of button takes the entire width of the line'
197197
)
198198

199199
if payload is not None and not isinstance(payload, six.string_types):

0 commit comments

Comments
 (0)