fix bad string

This commit is contained in:
ktyl 2022-12-15 21:51:46 +00:00
parent e3d3ac2df4
commit 4a3adcd46a
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ prompt = " ".join(sys.argv[1:])
While we're at it, we can also base the filename on the input prompt: While we're at it, we can also base the filename on the input prompt:
```python ```python
image.save(f"{prompt.replace(" ", "_")}.png") image.save(f'{prompt.replace(" ", "_")}.png')
``` ```
## Wrapping up ## Wrapping up