Fixed SyntaxError
This commit is contained in:
parent
826e031a39
commit
aa82a8f382
@ -209,9 +209,8 @@ async def main():
|
||||
scheduler.start()
|
||||
|
||||
try:
|
||||
|
||||
token = await authorize()
|
||||
|
||||
|
||||
if (
|
||||
len(
|
||||
(
|
||||
@ -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()}"
|
||||
|
Reference in New Issue
Block a user