mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2025-02-16 22:08:25 +00:00
fix for template null vars
This commit is contained in:
parent
01a6297742
commit
e7e7ef163b
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ class DataFile:
|
|||
for tm in variables:
|
||||
if variables[tm] is None:
|
||||
optional.append(str(tm))
|
||||
variables.pop(tm)
|
||||
if self.data_type == "Collection" and "collection_name" not in variables:
|
||||
variables["collection_name"] = str(name)
|
||||
if self.data_type == "Playlist" and "playlist_name" not in variables:
|
||||
|
|
Loading…
Add table
Reference in a new issue