diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2010-04-12 23:34:55 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2010-04-12 23:34:55 +0000 |
commit | b9ae90617de1b65dabe43ebc6effe29d4634abc9 (patch) | |
tree | a68753958359a16d1307708e50d904a20edecfe1 /numpy/core/memmap.py | |
parent | 77f4e079f3a35984787e6e60e2303f79bd4ec33a (diff) | |
download | numpy-b9ae90617de1b65dabe43ebc6effe29d4634abc9.tar.gz |
BUG: Need to use os.path.abspath on file handle name also.
Diffstat (limited to 'numpy/core/memmap.py')
-rw-r--r-- | numpy/core/memmap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/memmap.py b/numpy/core/memmap.py index de27553d8..83de1cf0a 100644 --- a/numpy/core/memmap.py +++ b/numpy/core/memmap.py @@ -237,7 +237,7 @@ class memmap(ndarray): if isinstance(filename, basestring): self.filename = os.path.abspath(filename) elif hasattr(filename, "name"): - self.filename = filename.name + self.filename = os.path.abspath(filename.name) return self |