Fixed line resetting due to errors

This commit is contained in:
Anon 2023-05-20 13:35:05 -07:00
parent 955f92ced0
commit 18961ba5e2

View File

@ -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):