From be8f94443fb1bb41383b2272280193ad89a9701c Mon Sep 17 00:00:00 2001 From: Tom Rothamel Date: Sat, 24 Aug 2024 23:55:07 -0400 Subject: [PATCH] py2: Fixes to add.py. --- add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",