mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-05 06:57:27 +02:00
Fixed removal of old deps
This commit is contained in:
@@ -74,8 +74,9 @@ def make_parts(target, part_type, parts = None):
|
||||
if not os.path.isdir(deps_dir):
|
||||
os.makedirs(deps_dir)
|
||||
|
||||
if os.path.isdir(top_dir + '/deps'): #old location
|
||||
shutil.rmtree(top_dir + '/deps')
|
||||
old_deps = top_dir + 'deps' #old location
|
||||
if os.path.isdir(old_deps):
|
||||
shutil.rmtree(old_deps)
|
||||
|
||||
times.read_times(target_dir)
|
||||
#
|
||||
|
Reference in New Issue
Block a user