Captain Ezio commited on
Commit
de77774
·
1 Parent(s): c98ddbd

Update kbhelpers.py

Browse files
Files changed (1) hide show
  1. Powers/utils/kbhelpers.py +6 -4
Powers/utils/kbhelpers.py CHANGED
@@ -19,10 +19,12 @@ def ikb(rows=None, back=False, todo="start_back"):
19
  line.append(button)
20
  lines.append(line)
21
  except AttributeError:
22
- for button in row:
23
- button = btn(*button) # Will make the kb which don't have "." in them
24
- line.append(button)
25
- lines.append(line)
 
 
26
  except TypeError:
27
  # make a code to handel that error
28
  line = []
 
19
  line.append(button)
20
  lines.append(line)
21
  except AttributeError:
22
+ for row in rows:
23
+ line = []
24
+ for button in row:
25
+ button = btn(*button) # Will make the kb which don't have "." in them
26
+ line.append(button)
27
+ lines.append(line)
28
  except TypeError:
29
  # make a code to handel that error
30
  line = []