mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2026-01-02 09:50:41 +00:00
Update wave_reader.py
Comment
This commit is contained in:
@@ -35,6 +35,7 @@ class WavInfoReader():
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
absolute_path = os.path.abspath(path)
|
absolute_path = os.path.abspath(path)
|
||||||
|
#: ``file://`` url for the file.
|
||||||
self.url = pathlib.Path(absolute_path).as_uri()
|
self.url = pathlib.Path(absolute_path).as_uri()
|
||||||
with open(path, 'rb') as f:
|
with open(path, 'rb') as f:
|
||||||
chunks = parse_chunk(f)
|
chunks = parse_chunk(f)
|
||||||
|
|||||||
Reference in New Issue
Block a user