diff options
-rw-r--r-- | pysmctrl/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysmctrl/__init__.py b/pysmctrl/__init__.py index 5dc6175..e85d2ef 100644 --- a/pysmctrl/__init__.py +++ b/pysmctrl/__init__.py | |||
@@ -4,7 +4,7 @@ import os | |||
4 | # If this is failing, make sure that the directory containing libsmctrl.so is | 4 | # If this is failing, make sure that the directory containing libsmctrl.so is |
5 | # in your LD_LIBRARY_PATH environment variable. You likely need something like: | 5 | # in your LD_LIBRARY_PATH environment variable. You likely need something like: |
6 | # LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/playpen/jbakita/gpu_subdiv/libsmctrl/ | 6 | # LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/playpen/jbakita/gpu_subdiv/libsmctrl/ |
7 | libsmctrl_path = ctypes.util.find_library("libsmctrl") | 7 | libsmctrl_path = ctypes.util.find_library("smctrl") |
8 | if not libsmctrl_path: | 8 | if not libsmctrl_path: |
9 | libsmctrl_path = __path__[0] + "/../libsmctrl.so" | 9 | libsmctrl_path = __path__[0] + "/../libsmctrl.so" |
10 | libsmctrl = ctypes.CDLL(libsmctrl_path) | 10 | libsmctrl = ctypes.CDLL(libsmctrl_path) |