Loading robot2doc/create_sols.py +4 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,10 @@ def get_git_log(folder: str): os.chdir(folder) gitcmd = ['git', 'log', '-n', '1', '--oneline', '--decorate'] gitlog = subprocess.run(gitcmd, check=True, stdout=subprocess.PIPE, text=True).stdout gitlog = subprocess.run(gitcmd, check=True, stdout=subprocess.PIPE).stdout if not isinstance(gitlog, str): gitlog = str(gitlog) os.chdir(current_dir) Loading Loading
robot2doc/create_sols.py +4 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,10 @@ def get_git_log(folder: str): os.chdir(folder) gitcmd = ['git', 'log', '-n', '1', '--oneline', '--decorate'] gitlog = subprocess.run(gitcmd, check=True, stdout=subprocess.PIPE, text=True).stdout gitlog = subprocess.run(gitcmd, check=True, stdout=subprocess.PIPE).stdout if not isinstance(gitlog, str): gitlog = str(gitlog) os.chdir(current_dir) Loading