mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Updated some code in object manager
This commit is contained in:
@@ -15,7 +15,7 @@ def find_name(root, findname):
|
||||
while TODO:
|
||||
try:
|
||||
for name, obj in TODO.pop().items():
|
||||
if findname in name:
|
||||
if findname in name or findname in obj.type:
|
||||
print("* {0}".format(obj_with_link(obj)))
|
||||
if obj.type == "Directory":
|
||||
TODO.append(obj)
|
||||
|
||||
Reference in New Issue
Block a user