Message ID | 20230531115005.310626-1-ayoub.zaki@embetrix.com |
---|---|
State | Accepted |
Headers | show |
Series | swupdateclient: Fix import path in README.md | expand |
Hi Ayoub, On 31.05.23 13:50, Ayoub Zaki wrote: > Signed-off-by: Ayoub Zaki <ayoub.zaki@embetrix.com> > --- > tools/python/swupdateclient/README.md | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/python/swupdateclient/README.md b/tools/python/swupdateclient/README.md > index 84e2ac3..50bd8cf 100644 > --- a/tools/python/swupdateclient/README.md > +++ b/tools/python/swupdateclient/README.md > @@ -33,7 +33,7 @@ pipenv run swupdateclient <path-to-swu> <host_name> [port] > ## Development > ### Import from another python program > ``` > -from swupdate_client import SWUpdater > +from swupdateclient.main import SWUpdater > > updater = SWUpdater("path-to-swu", "host-name") > if updater.update(): Applied to -master, thanks ! Best regards, Stefano Babic
diff --git a/tools/python/swupdateclient/README.md b/tools/python/swupdateclient/README.md index 84e2ac3..50bd8cf 100644 --- a/tools/python/swupdateclient/README.md +++ b/tools/python/swupdateclient/README.md @@ -33,7 +33,7 @@ pipenv run swupdateclient <path-to-swu> <host_name> [port] ## Development ### Import from another python program ``` -from swupdate_client import SWUpdater +from swupdateclient.main import SWUpdater updater = SWUpdater("path-to-swu", "host-name") if updater.update():
Signed-off-by: Ayoub Zaki <ayoub.zaki@embetrix.com> --- tools/python/swupdateclient/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)