Skip to content

Commit

Permalink
Merge pull request #4 from thanhleviet/patch-2
Browse files Browse the repository at this point in the history
Fix directory_to_search not found
  • Loading branch information
andrewjpage authored Mar 15, 2019
2 parents 807117f + 080e96f commit 449d007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion albatradis/AlbaTraDIS.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ def cleanup(self):
full_path_of_file_for_deletion = os.path.join(self.prefix, filename)
if(re.match(str(deletion_regex), filename) != None and os.path.exists(full_path_of_file_for_deletion)):
if self.verbose > 0:
print("Deleting file: "+ os.path.join(directory_to_search, filename) + " regex:"+deletion_regex)
print("Deleting file: "+ full_path_of_file_for_deletion + " regex:"+deletion_regex)
os.remove(full_path_of_file_for_deletion)

0 comments on commit 449d007

Please sign in to comment.