From 65685607f779840135befd8b818f85a5e18e2555 Mon Sep 17 00:00:00 2001 From: KilobY73 <66195452+KilobY73@users.noreply.github.com> Date: Sun, 2 Jan 2022 10:42:24 +0800 Subject: [PATCH] Add files via upload --- drcli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drcli.py b/drcli.py index db0db43..23ce8a9 100644 --- a/drcli.py +++ b/drcli.py @@ -1,4 +1,4 @@ -#drcom 5.2.0(Pt) compatible client for Windows +#drcom Pt compatible client import requests import time import sys @@ -12,6 +12,7 @@ def Connect(url): except: print("Connection error") +version='0.9' configFileName='dcacc.txt' configFile=os.getcwd()+'\\'+configFileName @@ -22,6 +23,7 @@ def Connect(url): ip=f.readline() portalUrl='http://'+ip[0:-1]+':801/eportal/portal/login?user_account=%2C0%2C'+user[0:-1]+'&user_password='+password[0:-1] f.close() + print('Drcom Pt compatible client '+version) while True: Connect(portalUrl) time.sleep(60)