ytdl-sub 2025.11.27__py3-none-any.whl → 2025.11.28.post1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ytdl_sub/__init__.py CHANGED
@@ -1 +1 @@
1
- __pypi_version__ = "2025.11.27";__local_version__ = "2025.11.27+24e71ce"
1
+ __pypi_version__ = "2025.11.28.post1";__local_version__ = "2025.11.28+8d5d2be"
@@ -158,10 +158,15 @@ class Overrides(UnstructuredDictFormatterValidator, Scriptable):
158
158
  script = entry.script
159
159
  unresolvable = entry.unresolvable
160
160
 
161
+ # Update the script internally so long as we are not supplying overrides
162
+ # that could alter the script with one-off state
163
+ update = function_overrides is None
164
+
161
165
  try:
162
166
  return script.resolve_once(
163
167
  dict({"tmp_var": formatter.format_string}, **(function_overrides or {})),
164
168
  unresolvable=unresolvable,
169
+ update=update,
165
170
  )["tmp_var"]
166
171
  except ScriptVariableNotResolved as exc:
167
172
  raise StringFormattingException(