diff options
Diffstat (limited to 'Lib/binhex.py')
-rw-r--r-- | Lib/binhex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/binhex.py b/Lib/binhex.py index 8189563..5137ccf 100644 --- a/Lib/binhex.py +++ b/Lib/binhex.py @@ -102,7 +102,7 @@ else: dsize = fp.tell() fp.close() dir, file = os.path.split(name) - file = string.replace(file, ':', '-', 1) + file = file.replace(':', '-', 1) return file, finfo, dsize, 0 class openrsrc: |