Duplication of rstrip unnecessary in link_assets function
Thanks for catching AVRS!
This commit is contained in:
parent
549000d991
commit
5257f5f554
@ -50,7 +50,7 @@ def link_assets(theme, link_dir, printer=simple_printer):
|
|||||||
which should be printable.
|
which should be printable.
|
||||||
"""
|
"""
|
||||||
link_dir = link_dir.rstrip(os.path.sep)
|
link_dir = link_dir.rstrip(os.path.sep)
|
||||||
link_parent_dir = os.path.split(link_dir.rstrip(os.path.sep))[0]
|
link_parent_dir = os.path.split(link_dir)[0]
|
||||||
|
|
||||||
results = []
|
results = []
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user