changed formatting of stable_diffusion.log
This commit is contained in:
parent
60c7a4f335
commit
399a979826
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ async def imagine(ctx):
|
||||||
with open(my_filename, "rb") as fh:
|
with open(my_filename, "rb") as fh:
|
||||||
f = discord.File(fh, filename=my_filename)
|
f = discord.File(fh, filename=my_filename)
|
||||||
|
|
||||||
log_data = f'Author: {ctx.author.name}, Prompt: {prompt}, Filename:{my_filename}\n'
|
log_data = f'Author: {ctx.author.name}, Prompt: {prompt}, Filename: {my_filename}\n'
|
||||||
with open("databases/stable_diffusion.log", 'a') as log_file:
|
with open("databases/stable_diffusion.log", 'a') as log_file:
|
||||||
log_file.writelines(log_data)
|
log_file.writelines(log_data)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue