mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-23 17:04:21 +01:00
adding probably erroneously removed return value from execut_shell, giving 'None' in return always otherise - not ideal (#3212)
Co-authored-by: James Collins <collijk@uw.edu>
This commit is contained in:
@@ -133,6 +133,7 @@ def execute_shell(command_line: str) -> str:
|
|||||||
# Change back to whatever the prior working dir was
|
# Change back to whatever the prior working dir was
|
||||||
|
|
||||||
os.chdir(current_dir)
|
os.chdir(current_dir)
|
||||||
|
return output
|
||||||
|
|
||||||
|
|
||||||
@command(
|
@command(
|
||||||
|
|||||||
Reference in New Issue
Block a user