Fix for 'requires string as left operand, not PosixPath'

pull/1625/head
Mike M 2023-04-15 11:21:43 -05:00 committed by GitHub
parent 793ea4d893
commit 712982a7d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ def execute_shell(command_line: str) -> str:
"""
current_dir = os.getcwd()
if WORKING_DIRECTORY not in current_dir: # Change dir into workspace if necessary
if str(WORKING_DIRECTORY) not in current_dir: # Change dir into workspace if necessary
work_dir = os.path.join(os.getcwd(), WORKING_DIRECTORY)
os.chdir(work_dir)