[33] fix name_var failure

This commit is contained in:
meisnate12 2022-07-15 23:01:25 -04:00
parent a239f0f3d5
commit 13fb2ea7fb
2 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
1.17.1-develop32
1.17.1-develop33

View file

@ -139,7 +139,8 @@ class DataFile:
elif not name:
name = mapping_name
variables[f"{self.data_type.lower()}_name"] = str(name)
name_var = f"{self.data_type.lower()}_name"
variables[name_var] = str(name)
variables["library_type"] = self.library.type.lower() if self.library else "items"
variables["library_name"] = self.library.name if self.library else "playlist"