From bdf710e4c8f6c4250bf8ef68f87f26a7f79604fb Mon Sep 17 00:00:00 2001 From: chasa <79016507+itschasa@users.noreply.github.com> Date: Thu, 2 Nov 2023 21:37:19 +0000 Subject: [PATCH] v1.2.8 - relationship fixes :blush: --- main.py | 2 +- restore.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 7f16703..e3ad0a3 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ # License v3.0. A copy of this license is available at # https://www.gnu.org/licenses/agpl-3.0.en.html -app_version = "v1.2.7" +app_version = "v1.2.8" import time import sys diff --git a/restore.py b/restore.py index 323f1e1..5fef3b2 100644 --- a/restore.py +++ b/restore.py @@ -24,10 +24,10 @@ def __init__(self, token, c: console.prnt, restore_server_folders, restore_data, self.restore_data = restore_data if self.restore_data['version'] != version: - self.c.warn(f"This Backup wasn't done on the same version of this software. (backup: {self.restore_data['version']}, current version:{version})") + self.c.warn(f"This Backup wasn't done on the same version of this software. (backup: {self.restore_data['version']}, current version: {version})") self.c.warn(f"This could lead to unexpected errors or side effects.") self.c.warn(f"It's recommended you change your software version to the same version as the backup was done on before continuing.") - self.c.inp(f"Are you sure you want to continue? ({colours['main_colour']}y/n{colours['white']})", end=f"{colours['white']}") + self.c.inp(f"Are you sure you want to continue? ({colours['main_colour']}y/n{colours['white']}) ", end=f"{colours['white']}") warning_continue = input() if warning_continue != "y": self.fatal_error = "Chose to stop restore" @@ -388,6 +388,7 @@ def _get_user_info(self, userid): headers={ 'Authorization' : f'Bot {self.bot_token}', + "Accept-Encoding": "identify", 'User-Agent': 'discord.py' } )