mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2025-06-04 19:16:25 -04:00
Merge branch 'master' into drag
This commit is contained in:
commit
9944aab73e
@ -87,10 +87,11 @@ def plateup(target, part_type, usage = None):
|
|||||||
match = re.match(r'^ECHO: "~(.*?\.' + part_type + r').*"$', line)
|
match = re.match(r'^ECHO: "~(.*?\.' + part_type + r').*"$', line)
|
||||||
if match:
|
if match:
|
||||||
used.append(match.group(1))
|
used.append(match.group(1))
|
||||||
#
|
|
||||||
# Copy file that are not included
|
|
||||||
#
|
|
||||||
copied = []
|
copied = []
|
||||||
|
if all_sources:
|
||||||
|
#
|
||||||
|
# Copy files that are not included
|
||||||
|
#
|
||||||
for file in os.listdir(parts_dir):
|
for file in os.listdir(parts_dir):
|
||||||
if file.endswith('.' + part_type) and not file in used:
|
if file.endswith('.' + part_type) and not file in used:
|
||||||
src = parts_dir + '/' + file
|
src = parts_dir + '/' + file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user