mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Update documentation
Clarify why the last two items are removed from the list
This commit is contained in:
parent
b969764c1c
commit
470bb7300c
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def generate_nsi(source_path: str, dist_path: str, filename: str):
|
|||
for rmdir in rmdir_p.parents:
|
||||
rmdir_paths.add(rmdir)
|
||||
|
||||
rmdir_paths = sorted(list(rmdir_paths), reverse = True)[:-2]
|
||||
rmdir_paths = sorted(list(rmdir_paths), reverse = True)[:-2] # Removes the `.` and `..` from the list
|
||||
|
||||
jinja_template_path = Path(source_loc.joinpath("packaging", "NSIS", "Ultimaker-Cura.nsi.jinja"))
|
||||
with open(jinja_template_path, "r") as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue