Skip to content

Commit

Permalink
Remove useless list transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Aug 18, 2023
1 parent 3c3f625 commit 8af2018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gutenberg2zim/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def main():
)

try:
books_csv = list(books_csv.split(","))
books_csv = books_csv.split(",")

def f(x):
return list(map(int, [i for i in x.split("-") if i.isdigit()]))
Expand Down

0 comments on commit 8af2018

Please sign in to comment.