diff --git a/README.md b/README.md index 23e78bc..d9f2c2e 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ and others which can work on an intranet. ## Uninstalling -If you installed naxalnet manually, there is now way to uninstall +If you installed naxalnet manually, there is no way to uninstall than manually removing the files: ```sh diff --git a/naxalnet/iwd.py b/naxalnet/iwd.py index c0ccf8f..413d592 100644 --- a/naxalnet/iwd.py +++ b/naxalnet/iwd.py @@ -164,7 +164,7 @@ class Device: """ Same as is_adhoc_started(), but for ap """ - if self.is_powered_on() and self.get_mode == "ap": + if self.is_powered_on() and self.get_mode() == "ap": return self._proxy.Started return None