From 18961ba5e299d8af8468ad4607690af31ddbc4f1 Mon Sep 17 00:00:00 2001 From: Anon Date: Sat, 20 May 2023 13:35:05 -0700 Subject: [PATCH] Fixed line resetting due to errors --- src/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.py b/src/main.py index 569c58b..21c3158 100755 --- a/src/main.py +++ b/src/main.py @@ -106,15 +106,15 @@ class YandereBot(FediBot.YandereBot): # Maybe I should remove this from the backend? def print_header_stats(self, picked): picked_profile, _picked = [None]*2 - line = "0" + line = self.currentLine if picked: _picked = picked.get_path() picked_profile = picked.get_path_profile()["name"] - line = str(self.currentLine - 1) + line -= 1 print("Profile: {} | Picked: {} | Line: {}".format( - picked_profile, _picked, line + picked_profile, _picked, str(line) )) def getline(self):