Timestamp errors
This commit is contained in:
parent
7c03565242
commit
e7d2c73a79
@ -3,6 +3,7 @@ import logging
|
||||
import json
|
||||
import random
|
||||
|
||||
import timestamp
|
||||
from configs import DUNGEON_PATH, logger
|
||||
|
||||
logger = logging.getLogger("inquisitor")
|
||||
@ -14,7 +15,8 @@ def as_item(title, body=None):
|
||||
'source': 'inquisitor',
|
||||
'title': title,
|
||||
'active': True,
|
||||
'tags': ['inquisitor', 'error']
|
||||
'created': timestamp.now(),
|
||||
'tags': ['inquisitor', 'error'],
|
||||
}
|
||||
if body is not None:
|
||||
item['body'] = '<pre>{}</pre>'.format(body)
|
||||
|
Loading…
Reference in New Issue
Block a user