mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-01 07:39:10 +00:00
Add # type: ignore to fromstring method
This commit is contained in:
@@ -258,7 +258,7 @@ class ThumbRenderer(QObject):
|
||||
audio: AudioSegment = AudioSegment.from_file(
|
||||
_filepath, _filepath.suffix.lower()[1:]
|
||||
)
|
||||
data = numpy.fromstring(audio._data, numpy.int16)
|
||||
data = numpy.fromstring(audio._data, numpy.int16) # type: ignore
|
||||
data_indices = numpy.linspace(1, len(data), num=adj_size)
|
||||
|
||||
BARS = adj_size // 5
|
||||
|
||||
Reference in New Issue
Block a user