From 31c015f9c1f00ad11e5a7808adb2c973be401faf Mon Sep 17 00:00:00 2001 From: Anon Date: Sat, 16 Jul 2022 03:57:36 -0700 Subject: [PATCH] Changed python shebang --- default/cfg.py | 6 +----- run.sh | 2 +- src/create_app.py | 2 +- src/encryption.py | 2 +- src/main.py | 2 +- src/yandereBot.py | 2 +- src/yanlib.py | 2 +- 7 files changed, 7 insertions(+), 11 deletions(-) diff --git a/default/cfg.py b/default/cfg.py index 58fc2f5..19ce5ca 100644 --- a/default/cfg.py +++ b/default/cfg.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Yandere Lewd Bot, an image posting bot for Pleroma # Copyright (C) 2022 Anon @@ -18,10 +18,6 @@ from collections import OrderedDict -# YandereBot is a customizable, no frills image-posting bot. The bot was designed to be simple to understand -# (from a technical perspective) and easy to modify/extend. YandereBot relies on GNU formatted hash files to configure -# and organize posts: (ex. 'd13f8ac27db94291dd5a348ed70c69bb *./rsc/2019.11.27/DDLC/nsfw/Ga4C1qE.jpg') - # setup_profile() -> Basic function to configure one line posts # @param name The name of the profile. This is only used to inform you if your profiles are setup correctly. # @param path The path of the hash file (if using YanBotV2) or a string with fnmatch wildcards (for YanBotV3) diff --git a/run.sh b/run.sh index e3c6ba8..0404489 100755 --- a/run.sh +++ b/run.sh @@ -15,8 +15,8 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Get the runtime path of the bot +# Get the runtime path of the bot ABS_PATH="$(readlink -f "$0")" RUN_DIR="$(dirname "$ABS_PATH")" diff --git a/src/create_app.py b/src/create_app.py index 038148d..4e07cb6 100755 --- a/src/create_app.py +++ b/src/create_app.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Yandere Lewd Bot, an image posting bot for Pleroma # Copyright (C) 2022 Anon diff --git a/src/encryption.py b/src/encryption.py index 2756c87..8e625dd 100755 --- a/src/encryption.py +++ b/src/encryption.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Yandere Lewd Bot, an image posting bot for Pleroma # Copyright (C) 2022 Anon diff --git a/src/main.py b/src/main.py index 0cfad97..4aa84a5 100755 --- a/src/main.py +++ b/src/main.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Yandere Lewd Bot, an image posting bot for Pleroma # Copyright (C) 2022 Anon diff --git a/src/yandereBot.py b/src/yandereBot.py index 0e1d1d5..42bcf06 100644 --- a/src/yandereBot.py +++ b/src/yandereBot.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Yandere Lewd Bot, an image posting bot for Pleroma # Copyright (C) 2022 Anon diff --git a/src/yanlib.py b/src/yanlib.py index e67a537..2ac7f55 100644 --- a/src/yanlib.py +++ b/src/yanlib.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Yandere Lewd Bot, an image posting bot for Pleroma # Copyright (C) 2022 Anon