You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.
Traceback (most recent call last):
File "/tmp/pritunl-api-python/pritunl_api/init.py", line 299, in ping
raise PritunlErr("{0}:{1}".format(sys._getframe().f_code.co_name, self.root.BASE_URL))
AttributeError: 'Pritunl' object has no attribute 'root'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pritunl-api-python/server.py", line 11, in
if pri.ping():
File "/tmp/pritunl-api-python/pritunl_api/init.py", line 301, in ping
raise PritunlErr("{0}:{1}".format(sys._getframe().f_code.co_name, self.root.BASE_URL))
AttributeError: 'Pritunl' object has no attribute 'root'
from pritunl_api import *
pri = Pritunl(url="https://pritunl.blah.cloud",
token="xxxxxxx",
secret="yyyyyyy")
if pri.ping():
s = pri.server.get()
print(s)
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/tmp/pritunl-api-python/pritunl_api/init.py", line 299, in ping
raise PritunlErr("{0}:{1}".format(sys._getframe().f_code.co_name, self.root.BASE_URL))
AttributeError: 'Pritunl' object has no attribute 'root'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pritunl-api-python/server.py", line 11, in
if pri.ping():
File "/tmp/pritunl-api-python/pritunl_api/init.py", line 301, in ping
raise PritunlErr("{0}:{1}".format(sys._getframe().f_code.co_name, self.root.BASE_URL))
AttributeError: 'Pritunl' object has no attribute 'root'
The text was updated successfully, but these errors were encountered: