From 8eade417cbe4114c9db8712560f5756ffecf269c Mon Sep 17 00:00:00 2001 From: green <41323182+greeeen-dev@users.noreply.github.com> Date: Tue, 17 Sep 2024 20:55:08 +0200 Subject: [PATCH] upgrader fix --- cogs/sysmgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/sysmgr.py b/cogs/sysmgr.py index c8df884..e10c9b9 100644 --- a/cogs/sysmgr.py +++ b/cogs/sysmgr.py @@ -1651,7 +1651,7 @@ def check(interaction): os.system('rm -rf ' + os.getcwd() + '/update') self.logger.info('Downloading from remote repository...') await self.bot.loop.run_in_executor(None, lambda: os.system( - 'git clone --branch ' + new['version'] + ' --single-branch --depth 1 ' + self.bot.config[ + 'git clone --branch ' + version + ' --single-branch --depth 1 ' + self.bot.config[ 'files_endpoint'] + '/unifier.git ' + os.getcwd() + '/update' )) self.logger.debug('Confirming download...')