fixed path issue
parent
d93bbd5313
commit
04adbe01e7
11
main.py
11
main.py
|
@ -31,7 +31,14 @@
|
||||||
#
|
#
|
||||||
# - launch the game or exit
|
# - launch the game or exit
|
||||||
|
|
||||||
import lib.launcher.python.yggdrasil as yggdrasil # Import Error!?
|
# import standard libraries
|
||||||
|
import sys
|
||||||
|
# adjust path
|
||||||
|
sys.path.append("./lib/launcher/python")
|
||||||
|
# import libraries from changed path
|
||||||
|
import yggdrasil
|
||||||
|
|
||||||
# temporary test stuff
|
# temporary test stuff
|
||||||
yggdrasil.authenticateUser(raw_input("Username: "), raw_input("Password: "))
|
a,b = yggdrasil.authenticateUser(raw_input("Username: "), raw_input("Password: "))
|
||||||
|
if a:
|
||||||
|
print b["accessToken"]
|
||||||
|
|
Reference in New Issue