Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ricklamers authored Jun 3, 2024
1 parent 8395910 commit 9311dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell_ai/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def main():

if platform.system() == "Linux":
info = platform.freedesktop_os_release()
plaform_string = f"The system the shell command will be executed on is {platform.system()} {platform.release()}, running {info['ID']} version {info.get('VERSION_ID', info['BUILD_ID'])}."
plaform_string = f"The system the shell command will be executed on is {platform.system()} {platform.release()}, running {info.get('ID')} version {info.get('VERSION_ID', info.get('BUILD_ID'))}."
else:
plaform_string = f"The system the shell command will be executed on is {platform.system()} {platform.release()}."

Expand Down

0 comments on commit 9311dbc

Please sign in to comment.