diff --git a/add.py b/add.py index f7d637041..1817d2bf9 100755 --- a/add.py +++ b/add.py @@ -8,7 +8,7 @@ import sys from renpy import version_tuple # @UnresolvedImport -branch = subprocess.run([ "git", "branch", "--show-current" ], capture_output=True, text=True).stdout.strip() +branch = os.popen("git branch --show-current").read().strip() SOURCE = [ "/home/tom/ab/renpy",