a_l_e_x_1991

Untitled

Aug 13th, 2016
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.58 KB | None | 0 0
  1. diff --git a/pogom/utils.py b/pogom/utils.py
  2. index c9a1841..abfb1f4 100755
  3. --- a/pogom/utils.py
  4. +++ b/pogom/utils.py
  5. @@ -324,6 +324,9 @@ def get_encryption_lib_path():
  6.      elif sys.platform == "darwin":
  7.          lib_name = "libencrypt-osx-64.so"
  8.  
  9. +    elif sys.platform.startswith('linux') and os.path.isfile(os.path.join(os.path.dirname(__file__), "libencrypt", "libencrypt-linux-user.so")):
  10. +        lib_name = "libencrypt-linux-user.so"
  11. +
  12.      elif os.uname()[4].startswith("arm") and platform.architecture()[0] == '32bit':
  13.          lib_name = "libencrypt-linux-arm-32.so"
Advertisement
Add Comment
Please, Sign In to add comment