We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 724b884 + 1342a6a commit 2c8e364Copy full SHA for 2c8e364
audioread/macca.py
@@ -137,9 +137,9 @@ def __del__(self):
137
138
class CFURL(CFObject):
139
def __init__(self, filename):
140
+ filename = os.path.abspath(os.path.expanduser(filename))
141
if not isinstance(filename, bytes):
142
filename = filename.encode(sys.getfilesystemencoding())
- filename = os.path.abspath(os.path.expanduser(filename))
143
url = _corefoundation.CFURLCreateFromFileSystemRepresentation(
144
0, filename, len(filename), False
145
)
0 commit comments