From 05bb1d162c24dd7ef5bb415fbaafbb8117c04b82 Mon Sep 17 00:00:00 2001 From: missytake Date: Sat, 4 Nov 2023 00:57:03 +0100 Subject: [PATCH] renamed variable which I copy-pasted from xdcget --- src/teams_bot/pyinfra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/teams_bot/pyinfra.py b/src/teams_bot/pyinfra.py index bc040bf..30a0305 100644 --- a/src/teams_bot/pyinfra.py +++ b/src/teams_bot/pyinfra.py @@ -17,7 +17,7 @@ def deploy_teams_bot( :param dbdir: the directory where the bot's data will be stored. default: ~/.config/teams-bot/email@example.org """ - clone_xdcget = git.repo( + clone_repo = git.repo( name="Pull the teams-bot repository", src="https://git.0x90.space/missytake/teams-bot", dest=f"/home/{unix_user}/teams-bot", @@ -26,7 +26,7 @@ def deploy_teams_bot( _use_su_login=True, ) - if clone_xdcget.changed: + if clone_repo.changed: server.script( name="Setup virtual environment for teams-bot", src=importlib.resources.files(__package__)