Closed ktdreyer closed 5 years ago
Instead of using the dangerous/difficult-to-read while 1 condition, refactor this logic into two methods, so we can evaluate os.path.isdir() in the while condition.
while 1
os.path.isdir()
while
Instead of using the dangerous/difficult-to-read
while 1
condition, refactor this logic into two methods, so we can evaluateos.path.isdir()
in thewhile
condition.