python-dlipower
python-dlipower copied to clipboard
Returning response code [403] when connecting to ProSwitch using non default user id and password
I was able to fix the issue by making slight modification in the file dlipower.py. I modified the line data = {'Username': 'admin', 'Password': m.hexdigest()}
to data = {'Username': self.userid, 'Password': m.hexdigest()}
. After making this change I was able to connect to the device and operate it