Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: stanley31huang <[email protected]>
  • Loading branch information
rickwu666666 and stanley31huang committed Oct 8, 2024
1 parent 478ce89 commit 1e69f77
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ class ExtendSanpd(Snapd):
def __init__(self, task_timeout=30, poll_interval=1, verbose=False):
super().__init__(task_timeout, poll_interval, verbose)

def list_apps(self):
list_apps = self._get(self._apps)["result"]
return list_apps
def list_apps(self, snaps):
return self._get(self._apps, params={"names": snaps})


def look_up_apps(apps, snap_name=None):
Expand Down

0 comments on commit 1e69f77

Please sign in to comment.