Skip to content

Commit 856eb25

Browse files
committed
Fix pp_index.
1 parent 678a808 commit 856eb25

File tree

1 file changed

+1
-1
lines changed
  • pyGBot/Plugins/games/fluxxfiles

1 file changed

+1
-1
lines changed

pyGBot/Plugins/games/fluxxfiles/game.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def pretty_print_list(L, use_both=False):
1313
return "%sand %s" % ((('%s, ' * (len(L)-1)) % tuple(L[:-1])), L[-1])
1414

1515
def pp_index(L, start=1, use_both=False):
16-
return pretty_print_list(["%d: %s" % (i, v) for i, v in zip(count(start), L), use_both])
16+
return pretty_print_list(["%d: %s" % (i, v) for i, v in zip(count(start), L)], use_both)
1717

1818
def plural(L):
1919
return "" if len(L) == 1 else "s"

0 commit comments

Comments
 (0)