fix return value for same function i just thought i fixed but didn't all the way
This commit is contained in:
parent
a1c6fa1dc6
commit
628f71cf3d
|
@ -114,7 +114,7 @@ def discover_posix_by_name(c, tablename):
|
|||
tables = discover_posix(c)
|
||||
for t in tables:
|
||||
if tables[t].name.find(tablename) > -1:
|
||||
return t
|
||||
return tables[t]
|
||||
return None
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user