dev #19
@ -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()}"
|
||||
|
Reference in New Issue
Block a user