From ab6d55acd685775ca929196b2b97d4e5e2f446a4 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Wed, 19 Jun 2019 13:32:23 -0700 Subject: [PATCH] Update example source --- sources/example.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sources/example.py b/sources/example.py index 00f02f7..278982a 100644 --- a/sources/example.py +++ b/sources/example.py @@ -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(),