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.
1 parent 3b553d1 commit 92322f4Copy full SHA for 92322f4
opendssdirect/utils.py
@@ -4,6 +4,7 @@
4
import warnings
5
6
from ._utils import get_string, dss_py
7
+from . import _utils
8
9
is_pandas_installed = True
10
@@ -47,7 +48,7 @@ def run_command(text, dss=None):
47
48
49
r = []
50
for l in text.splitlines():
- dss.dss_lib.Text_Set_Command(l.encode("ascii"))
51
+ dss.dss_lib.Text_Set_Command(l.encode(_utils.codec))
52
r.append(get_string(dss.dss_lib.Text_Get_Result()))
53
54
return "\n".join(r).strip()
0 commit comments