Corrected the input to remove command

pull/5407/head
Deepika 2017-11-15 11:31:30 -06:00
parent 51430cdeb3
commit d4f7291b9a
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ def delete_dir_files(directory):
for element in listdir(directory):
to_remove = join(directory, element)
if not isdir(to_remove):
remove(file)
remove(to_remove)
def get_caller_name(steps=2):