Update fc_block_decode.py print datetime

fc-sub
Alan Johnston 10 months ago committed by GitHub
parent a3327f87e3
commit 4aae8058a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -6,6 +6,7 @@ import random
from PIL import Image, ImageDraw, ImageFont, ImageColor
import subprocess
import io
import datetime
logging.basicConfig(format='%(message)s')
# logging.warning('CC-Warning!')
@ -36,6 +37,8 @@ image_dir = "/home/pi/fctelem/"
image = "image_file"
ssdv = "/home/pi/ssdv/ssdv -d -J "
print(datetime.now())
system_and_print("sudo rm " + image_dir + image)
#system_and_print("sudo rm " + html_dir + "*")
system_and_print("sudo rm " + html_dir + "/images/*")

Loading…
Cancel
Save

Powered by TurnKey Linux.