Fixed SyntaxError
This commit is contained in:
parent
826e031a39
commit
aa82a8f382
@ -209,9 +209,8 @@ async def main():
|
|||||||
scheduler.start()
|
scheduler.start()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
token = await authorize()
|
token = await authorize()
|
||||||
|
|
||||||
if (
|
if (
|
||||||
len(
|
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")}',
|
f'{configGet("address", "posting", "api")}/albums?name={configGet("queue", "posting", "api", "albums")}&title={configGet("queue", "posting", "api", "albums")}',
|
||||||
headers={"Authorization": f"Bearer {token}"},
|
headers={"Authorization": f"Bearer {token}"},
|
||||||
)
|
)
|
||||||
logWrite(
|
logWrite("Created media album on API server.")
|
||||||
"Created media album on API server."}"
|
|
||||||
)
|
|
||||||
except Exception as exp:
|
except Exception as exp:
|
||||||
logWrite(
|
logWrite(
|
||||||
f"Could not create media album on API server due to {exp}: {format_exc()}"
|
f"Could not create media album on API server due to {exp}: {format_exc()}"
|
||||||
|
Reference in New Issue
Block a user