From e79001f57c76505933fb1a7ee24c87375425bb81 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 3 Feb 2020 16:42:15 -0800 Subject: [PATCH] Oops. --- brename.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brename.py b/brename.py index 6e31a67..99ebf74 100644 --- a/brename.py +++ b/brename.py @@ -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('.')]