Output all data by default
This commit is contained in:
parent
77cba075f4
commit
b7476c5de2
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -127,7 +127,7 @@ def application(env, re):
|
||||||
frm = on if on else args["from"][0] if "from" in args else None
|
frm = on if on else args["from"][0] if "from" in args else None
|
||||||
to = on if on else args["to"][0] if "to" in args else None
|
to = on if on else args["to"][0] if "to" in args else None
|
||||||
|
|
||||||
frm = frm or datetime.datetime.now().strftime('%Y-%m-%d')
|
frm = frm or "2000-01-01"
|
||||||
to = to or datetime.datetime.now().strftime('%Y-%m-%d')
|
to = to or datetime.datetime.now().strftime('%Y-%m-%d')
|
||||||
|
|
||||||
for time in frm, to:
|
for time in frm, to:
|
||||||
|
|
Loading…
Reference in a new issue