This commit is contained in:
C. R. Oldham 2015-05-11 12:47:27 -06:00 committed by Justin Findlay
parent 7d748bff75
commit d6daaa0292

View File

@ -260,7 +260,7 @@ def event_return(events):
tag = event.get('tag', '')
data = event.get('data', '')
sql = '''INSERT INTO salt_events (tag, data, master_id, alter_time)
VALUES (%s, %s, %s, time.localtime())
VALUES (%s, %s, %s, time.localtime())'''
cur.execute(sql, (tag, psycopg2.extras.Json(data), __opts__['id']))