From b8bafe04d61d6b001844b6e6dc8e0d0ef4a8ad7c Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Sat, 14 Oct 2023 00:06:43 +0200 Subject: foolproof --- config.py | 5 +++++ examples/syncblog.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index b5f37cd..2d47141 100644 --- a/config.py +++ b/config.py @@ -1,3 +1,8 @@ +# FOOLPROOF: MODIFY THIS CONFIG AND +# DELETE THE FOLLOWING TWO LINES +print("You are not running a script from internet without inspecting, are you?") +exit() + APPNAME = 'bot_id' BASEURL = 'https://_instance_' diff --git a/examples/syncblog.sh b/examples/syncblog.sh index 5661923..221faf8 100644 --- a/examples/syncblog.sh +++ b/examples/syncblog.sh @@ -5,7 +5,7 @@ # FOOLPROOF echo "do you know what you are doing?" -exit() +exit cd echo "Fetching Timeline from fedi..." -- cgit v1.2.3-70-g09d2