Fix posix discover by name typo/i'm a dummy error
This commit is contained in:
parent
103abdb961
commit
a1c6fa1dc6
|
@ -113,7 +113,7 @@ def discover_posix(c):
|
|||
def discover_posix_by_name(c, tablename):
|
||||
tables = discover_posix(c)
|
||||
for t in tables:
|
||||
if t.name.find(tablename) > -1:
|
||||
if tables[t].name.find(tablename) > -1:
|
||||
return t
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user