fixed path issue

backup
LinuxMint4Ever 2019-10-22 14:20:32 +02:00
parent d93bbd5313
commit 04adbe01e7
1 changed files with 9 additions and 2 deletions

11
main.py
View File

@ -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"]