This commit is contained in:
Karol Wypchlo 2021-03-01 18:40:39 +01:00
parent 5473468dc8
commit b92bfe0150
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ async def block_skylinks_from_airtable():
return print("No nginx cached files matching blocked skylinks were found") return print("No nginx cached files matching blocked skylinks were found")
os.popen('docker exec -it nginx bash -c "' + cached_files_command + ' | xargs rm"') os.popen('docker exec -it nginx bash -c "' + cached_files_command + ' | xargs rm"')
message = "Purged " + str(cached_files_count) + " blocklisted files from nginx cache") message = 'Purged ' + str(cached_files_count) + ' blocklisted files from nginx cache'
return print(message) or await send_msg(client, message) return print(message) or await send_msg(client, message)
async def exit_after(delay): async def exit_after(delay):