~blowry/steamarchiver

1d756fd5fcd300baadb1a64c638cfa7ddcf093d8 — Benjamin Lowry 19 days ago 96305e7 main
login: save auth if run directly
1 files changed, 3 insertions(+), 0 deletions(-)

M login.py
M login.py => login.py +3 -0
@@ 46,3 46,6 @@ def post_login(client, used_login_key=False):
            f.write(client.login_key)
    with open("./auth/lastuser.txt", "w") as f:
        f.write(client.username)

if __name__ == "__main__":
    auto_login(SteamClient(), fallback_anonymous=False, relogin=False)