This commit is contained in:
voussoir 2020-02-03 16:42:15 -08:00
parent 317688d9aa
commit e79001f57c

View file

@ -29,7 +29,7 @@ underscore = '_'
def brename(transformation, autoyes=False, recurse=False):
if recurse:
spinal.walk_generator('.', yield_files=True, yield_directories=True)
walker = spinal.walk_generator('.', yield_files=True, yield_directories=True)
olds = [x.absolute_path for x in walker]
else:
olds = [os.path.join(os.getcwd(), x) for x in os.listdir('.')]