From c2fd823c69d42501c356cbe7ae89012e4ab1c93d Mon Sep 17 00:00:00 2001 From: hlohaus <983577+hlohaus@users.noreply.github.com> Date: Fri, 13 Jun 2025 22:40:08 +0200 Subject: [PATCH] Add update.py --- .gitignore | 1 - etc/tool/update.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d0a9e4aa..3dd6c37c 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,6 @@ __pycache__/ build test.py -update.py cookie.json notes.txt close_issues.py diff --git a/etc/tool/update.py b/etc/tool/update.py index 58f3e080..177ccbdc 100644 --- a/etc/tool/update.py +++ b/etc/tool/update.py @@ -8,7 +8,7 @@ if __name__ == "__main__": exit(0) command = ["git", "fetch"] call(command, stderr=STDOUT) - command = ["git", "reset", "--hard", "master"] + command = ["git", "reset", "--hard"] call(command, stderr=STDOUT) command = ["git" ,"pull", "origin", "main"] call(command, stderr=STDOUT)