diff --git a/main.py b/main.py index a8d838c..9d826e4 100644 --- a/main.py +++ b/main.py @@ -31,7 +31,14 @@ # # - 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 -yggdrasil.authenticateUser(raw_input("Username: "), raw_input("Password: ")) \ No newline at end of file +a,b = yggdrasil.authenticateUser(raw_input("Username: "), raw_input("Password: ")) +if a: + print b["accessToken"]