Merge pull request #2325 from anujatappeta/corrected-function-calling

commiting to correct function call
This commit is contained in:
Paul Pfeister 2024-11-01 04:33:58 -04:00 committed by GitHub
commit 1c2e99a5b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,8 +7,8 @@ class Interactives:
def run_cli(args:str = "") -> str:
"""Pass arguments to Sherlock as a normal user on the command line"""
# Adapt for platform differences (Windows likes to be special)
if platform.system == "Windows":
command:str = f"py -m sherlock {args}"
if platform.system() == "Windows":
command:str = f"py -m sherlock_project {args}"
else:
command:str = f"sherlock {args}"