diff --git a/.gitignore b/.gitignore index 6dd6a3d..094c669 100644 --- a/.gitignore +++ b/.gitignore @@ -55,4 +55,6 @@ docs/_build/ target/ # IDEA -.idea/ \ No newline at end of file +.idea/ + +.env \ No newline at end of file diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..d0926f0 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: python nextaction.py -a $TODOIST_API_KEY -l $TODOIST_NEXT_ACTION_LABEL --debug --onetime \ No newline at end of file diff --git a/nextaction.py b/nextaction.py index 0d96210..13f608a 100755 --- a/nextaction.py +++ b/nextaction.py @@ -4,6 +4,8 @@ import logging import argparse # noinspection PyPackageRequirements +import os + from todoist.api import TodoistAPI import time