We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64e01ad + f1e7522 commit 98e2de2Copy full SHA for 98e2de2
1 file changed
src/pyrfc/__init__.py
@@ -14,6 +14,16 @@
14
15
# import from internal modules that they could be directly imported from
16
# the pyrfc package
17
+
18
19
+# Set DLL path, due to https://docs.python.org/3.8/whatsnew/3.8.html#bpo-36085-whatsnew
20
+import os
21
+if os.name == 'nt':
22
+ try:
23
+ os.add_dll_directory(os.path.join(os.environ["SAPNWRFC_HOME"], "lib"))
24
+ except Exception:
25
+ pass
26
27
from pyrfc._exception import (
28
RFCError,
29
RFCLibError,
0 commit comments