blob: cf91adf6de7a6d6ce5536e3bd28d26d2bfb08045 (
plain)
1
2
3
4
5
|
33,36d32
< # Print the output also to a logfile
< logfile = open("hb-downloader_" + time.strftime("%Y-%m-%d") + ".log", 'a')
< print(formatted_message, file = logfile)
< logfile.close()
|