4264acb8 by Barry

Refactored the way messages are processed. Added new raffle.

1 parent 771720d3
import operator
import sqlite3
import datetime
conn = sqlite3.connect('db.sqlite3')
def log(message):
logging.warning("{} - {}".format(datetime.datetime.now().strftime('%Y/%m/%d %H:%M:%S'), message))
try:
logging.warning("{} - {}".format(datetime.datetime.now().strftime('%Y/%m/%d %H:%M:%S'), message))
except:
pass
##################
## Database Calls
......
No preview for this file type