Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
b57f967
1
Parent(s):
8a696b1
Update kbhelpers.py
Browse files
Powers/utils/kbhelpers.py
CHANGED
|
@@ -19,7 +19,8 @@ def ikb(rows=None, back=False, todo="start_back"):
|
|
| 19 |
line.append(button)
|
| 20 |
lines.append(line)
|
| 21 |
except (AttributeError, TypeError): # Will make the kb which don't have "." in them
|
| 22 |
-
|
|
|
|
| 23 |
button = btn(*button) # InlineKeyboardButton
|
| 24 |
line.append(button)
|
| 25 |
lines.append(line)
|
|
|
|
| 19 |
line.append(button)
|
| 20 |
lines.append(line)
|
| 21 |
except (AttributeError, TypeError): # Will make the kb which don't have "." in them
|
| 22 |
+
line = []
|
| 23 |
+
for button in rows:
|
| 24 |
button = btn(*button) # InlineKeyboardButton
|
| 25 |
line.append(button)
|
| 26 |
lines.append(line)
|