Fixed SyntaxError

This commit is contained in:
Profitroll 2023-04-24 12:40:06 +02:00
parent 826e031a39
commit aa82a8f382
1 changed files with 2 additions and 5 deletions

View File

@ -209,7 +209,6 @@ async def main():
scheduler.start()
try:
token = await authorize()
if (
@ -231,9 +230,7 @@ async def main():
f'{configGet("address", "posting", "api")}/albums?name={configGet("queue", "posting", "api", "albums")}&title={configGet("queue", "posting", "api", "albums")}',
headers={"Authorization": f"Bearer {token}"},
)
logWrite(
"Created media album on API server."}"
)
logWrite("Created media album on API server.")
except Exception as exp:
logWrite(
f"Could not create media album on API server due to {exp}: {format_exc()}"