mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Remove redundant with_suffix call
This commit is contained in:
parent
c74c1927ec
commit
65d415d5aa
@ -932,7 +932,7 @@ def main() -> None:
|
||||
new_init_file = config.root_path / "invokeai.yaml"
|
||||
backup_init_file = new_init_file.with_suffix(".bak")
|
||||
if new_init_file.exists():
|
||||
copy(new_init_file, new_init_file.with_suffix(".bak"))
|
||||
copy(new_init_file, backup_init_file)
|
||||
|
||||
try:
|
||||
# if we do a root migration/upgrade, then we are keeping previous
|
||||
|
Loading…
Reference in New Issue
Block a user