aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianhao Wang <tianhao.wang2@mailbox.tu-dresden.de>2023-10-14 00:06:43 +0200
committerTianhao Wang <tianhao.wang2@mailbox.tu-dresden.de>2023-10-14 00:06:43 +0200
commitb8bafe04d61d6b001844b6e6dc8e0d0ef4a8ad7c (patch)
tree9b268735279bacc724b7a0ed8591178a8492f04c
parent2580e02140f112e8797807620e36712489039754 (diff)
foolproof
-rw-r--r--config.py5
-rw-r--r--examples/syncblog.sh2
2 files changed, 6 insertions, 1 deletions
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 <PATH_TO_TIMELINE_BOT>
echo "Fetching Timeline from fedi..."