Log what command is running
This commit is contained in:
parent
04f966a41c
commit
26d251a41e
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
import logging
|
||||
import shlex
|
||||
import shutil
|
||||
import typing
|
||||
import urllib.parse
|
||||
|
@ -148,6 +149,7 @@ class TruthSocialTranscode(niobot.Module):
|
|||
stderr=asyncio.subprocess.PIPE
|
||||
)
|
||||
self.log.info("Starting transcode...")
|
||||
self.log.debug("Running command: %r", shlex.join(args))
|
||||
stdout, stderr = await transcode.communicate()
|
||||
self.log.info("Finished transcode.")
|
||||
if transcode.returncode != 0:
|
||||
|
|
Loading…
Reference in a new issue