Skip to content

Commit

Permalink
Merge pull request #585 from jjlawren/gdm_scan_clients_with_all
Browse files Browse the repository at this point in the history
Allow scanning for clients when using GDM.all()
  • Loading branch information
Hellowlol authored Nov 1, 2020
2 parents 60d1fc6 + 40e295d commit 114d907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plexapi/gdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ def scan(self, scan_for_clients=False):
"""Scan the network."""
self.update(scan_for_clients)

def all(self):
def all(self, scan_for_clients=False):
"""Return all found entries.
Will scan for entries if not scanned recently.
"""
self.scan()
self.scan(scan_for_clients)
return list(self.entries)

def find_by_content_type(self, value):
Expand Down

0 comments on commit 114d907

Please sign in to comment.