File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1313
1414
1515class GDM :
16- """Base class to discover GDM services."""
16+ """Base class to discover GDM services.
17+
18+ Atrributes:
19+ entries (List<dict>): List of server and/or client data discovered.
20+ """
1721
1822 def __init__ (self ):
1923 self .entries = []
20- self .last_scan = None
2124
2225 def scan (self , scan_for_clients = False ):
2326 """Scan the network."""
@@ -35,7 +38,7 @@ def find_by_content_type(self, value):
3538 """Return a list of entries that match the content_type."""
3639 self .scan ()
3740 return [entry for entry in self .entries
38- if value in entry ['data' ]['Content_Type ' ]]
41+ if value in entry ['data' ]['Content-Type ' ]]
3942
4043 def find_by_data (self , values ):
4144 """Return a list of entries that match the search parameters."""
You can’t perform that action at this time.
0 commit comments