Commit 1b80880c authored by Cody Zacharias's avatar Cody Zacharias Committed by GitHub

Delete debug.py

parent 6d6c0d0f
import datetime
import sys
def Write(e, func, output):
now = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
msg = "[{}] {} - {}".format(now, func, e)
if output:
print(msg, file=open(output, "a", encoding="utf-8"))
print(msg, file=open("twint_debug.log", "a", encoding="utf-8"))
print(msg)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment