mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Remove unnecessary os.path.basename call
This commit is contained in:
parent
856bd86cd1
commit
1e2764278e
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ def collecAllPlatformMeshes():
|
||||||
result = []
|
result = []
|
||||||
for root, directories, filenames in os.walk(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "resources", "meshes"))):
|
for root, directories, filenames in os.walk(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "resources", "meshes"))):
|
||||||
for filename in filenames:
|
for filename in filenames:
|
||||||
if os.path.basename(filename) not in __exclude_filenames:
|
if filename not in __exclude_filenames:
|
||||||
result.append(os.path.join(root, filename))
|
result.append(os.path.join(root, filename))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue