mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Fixed improper filename detection
This commit is contained in:
@@ -123,5 +123,4 @@ def hr_name(book):
|
|||||||
"""
|
"""
|
||||||
Nicer file names
|
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)[1])
|
||||||
return "{0}.{1}".format(slugify(book.title), os.path.splitext(book.file_name))
|
|
||||||
|
|||||||
Reference in New Issue
Block a user