Update example source

This commit is contained in:
Tim Van Baak 2019-06-19 13:32:23 -07:00
parent 255d84bc88
commit ab6d55acd6
1 changed files with 1 additions and 4 deletions

View File

@ -8,14 +8,11 @@ or `--sources example:argument`.
from datetime import date
import time
# Globals
SOURCE = "examplesource"
def fetch_new(state, args):
now = date.today()
item = create_item(
SOURCE,
"example",
'{}-{}-{}'.format(now.year, now.month, now.day),
"Today is {}-{}-{}".format(now.year, now.month, now.day),
ts=time.time(),