From f00ef7cbeaa1730cb063ce01512f3e8d33d35aee Mon Sep 17 00:00:00 2001 From: Rob McMullen Date: Sun, 26 Feb 2017 15:26:40 -0800 Subject: [PATCH] Fixed variable name typo --- atrcopy/diskimages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atrcopy/diskimages.py b/atrcopy/diskimages.py index 638a885..674459f 100644 --- a/atrcopy/diskimages.py +++ b/atrcopy/diskimages.py @@ -286,7 +286,7 @@ class DiskImageBase(object): if hasattr(filename, "filename"): return filename for dirent in self.files: - if filename_or_dirent == dirent.filename: + if filename == dirent.filename: return dirent raise FileNotFound("%s not found on disk" % filename)