fix index bug in toolbit directory creation

This commit is contained in:
sliptonic
2021-01-26 21:30:18 -06:00
parent 39c1b59ac1
commit dd9b32f992

View File

@@ -87,7 +87,7 @@ def checkWorkingDir():
subdirlist = ['Bit', 'Library', 'Shape']
mode = 0o777
for dir in subdirlist:
for dir in subdirlist.copy():
subdir = "{}{}{}".format(workingdir, os.path.sep, dir)
if os.path.exists(subdir):
subdirlist.remove(dir)