mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix formatting
This commit is contained in:
parent
808712e114
commit
5baf13c96c
2 changed files with 4 additions and 4 deletions
|
|
@ -610,9 +610,9 @@ class IWorkfileHost:
|
|||
|
||||
try:
|
||||
workfile_path = workfile_path.format(root=anatomy.roots)
|
||||
except Exception as exc:
|
||||
except Exception:
|
||||
self.log.warning(
|
||||
f"Failed to format workfile path.", exc_info=True
|
||||
"Failed to format workfile path.", exc_info=True
|
||||
)
|
||||
|
||||
is_available = False
|
||||
|
|
|
|||
|
|
@ -547,8 +547,8 @@ def change_current_context(
|
|||
if template_key is not _PLACEHOLDER:
|
||||
warnings.warn(
|
||||
(
|
||||
f"Used deprecated argument 'template_key' in"
|
||||
f" 'change_current_context'."
|
||||
"Used deprecated argument 'template_key' in"
|
||||
" 'change_current_context'."
|
||||
" It is not necessary to pass it in anymore."
|
||||
),
|
||||
DeprecationWarning,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue