diff options
Diffstat (limited to 'src/gtkgui_helpers.py')
-rw-r--r-- | src/gtkgui_helpers.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py index f83e22882..6900a856a 100644 --- a/src/gtkgui_helpers.py +++ b/src/gtkgui_helpers.py @@ -273,10 +273,10 @@ class HashDigest: self.algo = self.cleanID(algo) self.digest = self.cleanID(digest) - def cleanID(self, id): - id = id.strip().lower() - for strip in (' :.-_'): id = id.replace(strip, '') - return id + def cleanID(self, id_): + id_ = id_.strip().lower() + for strip in (' :.-_'): id_ = id_.replace(strip, '') + return id_ def __eq__(self, other): sa, sd = self.algo, self.digest |