mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
removed .split from hr_name
This commit is contained in:
@@ -124,4 +124,4 @@ def hr_name(book):
|
||||
Nicer file names
|
||||
"""
|
||||
# return "{0}.{1}".format(slugify(book.title), book.file_name.split(".")[1])
|
||||
return "{0}.{1}".format(slugify(book.title), os.path.splitext(book.file_name.split))
|
||||
return "{0}.{1}".format(slugify(book.title), os.path.splitext(book.file_name))
|
||||
|
||||
Reference in New Issue
Block a user