dev #19

Merged
profitroll merged 98 commits from dev into master 2023-04-24 13:48:22 +03:00
Showing only changes of commit aa82a8f382 - Show all commits

View File

@ -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()}"