From b0f832b9333faa62cb352ef0da97c868b2500d0d Mon Sep 17 00:00:00 2001 From: theo1 Date: Thu, 1 Oct 2020 18:56:57 +0200 Subject: [PATCH] added API token and server as external config file --- .gitignore | 3 ++- config_default.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 config_default.py diff --git a/.gitignore b/.gitignore index ed8ebf5..c8ef175 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -__pycache__ \ No newline at end of file +__pycache__ +config.py \ No newline at end of file diff --git a/config_default.py b/config_default.py new file mode 100644 index 0000000..a0b0775 --- /dev/null +++ b/config_default.py @@ -0,0 +1,3 @@ +class configObject (): + ACCESS_TOKEN = 'enter_your_api_token_here' + SERVER_NAME = 'https://mastodon.example' \ No newline at end of file