Skip to content

Commit

Permalink
[changed] Make list sorting case insensitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
TnS-hun committed Apr 27, 2019
1 parent c4ec168 commit 25d57cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kobo-book-downloader/Commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def ListBooks( listAll: bool ) -> None:
Commands.__IsBookArchived( newEntitlement ) ]
rows.append( book )

rows = sorted( rows, key = lambda columns: columns[ 1 ] )
rows = sorted( rows, key = lambda columns: columns[ 1 ].lower() )
for columns in rows:
revisionId = colorama.Style.DIM + columns[ 0 ] + colorama.Style.RESET_ALL
title = colorama.Style.BRIGHT + columns[ 1 ] + colorama.Style.RESET_ALL
Expand Down

0 comments on commit 25d57cb

Please sign in to comment.