Skip to content

Commit

Permalink
fixed some bug with run_command
Browse files Browse the repository at this point in the history
  • Loading branch information
franck403 committed Jul 4, 2023
1 parent f2400bf commit 9f9e971
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion exemple.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import raspberrypi # import package for raspberrypi controlling over ssh
import raspberrypi_control # import package for raspberrypi controlling over ssh
import os # Put import here they are take and install to the raspberrypi file.
import time

Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import raspberrypi # import package for raspberrypi controlling over ssh
import raspberrypi_control # import package for raspberrypi controlling over ssh
import os # Put import here they are take and install to the raspberrypi file.
import time

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "raspberrypi_control"
version = "2.0.1"
version = "2.0.2"
authors = [
{ name="Geoloup Team", email="[email protected]"},
]
Expand Down
2 changes: 1 addition & 1 deletion raspberrypi_control/raspberrypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ def run_command(command=None,display=False):
capture=True
)
return output[-1]
else:
except:
import os
return os.system(command)
else:
Expand Down

0 comments on commit 9f9e971

Please sign in to comment.