1
0

cleanup debug statements

This commit is contained in:
dtb 2023-07-16 10:21:14 -04:00
parent eae198df42
commit bfea5f032e

View File

@ -16,9 +16,7 @@ for day in sys.stdin.read().split('\n\n\n'):
f = '.' + f f = '.' + f
if os.path.isfile(f): if os.path.isfile(f):
continue continue
print(f)
d = '/'.join(f.split('/')[:-1]) d = '/'.join(f.split('/')[:-1])
print(d)
if '/' in f and not(os.path.isdir(d)) and not(d == ''): if '/' in f and not(os.path.isdir(d)) and not(d == ''):
os.makedirs(d) os.makedirs(d)
cleanupsh += 'rm -r -- ' + d + '\n' cleanupsh += 'rm -r -- ' + d + '\n'