We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fd7b8a commit 23b99cbCopy full SHA for 23b99cb
2 files changed
pyproject.toml
@@ -1,6 +1,6 @@
1
[project]
2
name = "vban-cmd"
3
-version = "2.8.0"
+version = "2.8.1"
4
description = "Python interface for the VBAN RT Packet Service (Sendtext)"
5
authors = [{ name = "Onyx and Iris", email = "code@onyxandiris.online" }]
6
license = { text = "MIT" }
vban_cmd/recorder.py
@@ -102,7 +102,9 @@ def gain(self, val: float):
102
103
def load(self, file: os.PathLike):
104
try:
105
- self.setter('load', str(file))
+ # Convert to string, use forward slashes, and wrap in quotes for spaces
106
+ file_path = f'"{os.fspath(file).replace(chr(92), "/")}"'
107
+ self.setter('load', file_path)
108
except UnicodeError:
109
raise VBANCMDError('File full directory must be a raw string')
110
0 commit comments