nwdigitalradio / rmsgw

Linux RMS Gateway
GNU General Public License v2.0
21 stars 12 forks source link

winlinkservice.xml path for sysopadd incorrect #8

Closed ve7fet closed 5 years ago

ve7fet commented 5 years ago

In admin/winlinkservice.xml, the path for the sysopadd api is incorrect.

Current path is /status/sysop/add, the correct location is /sysop/add.

The bad path throws a 404 error when updatesysop.py is run:

./updatesysop.py *** Sysop update for N0CALL failed, ErrorCode = 404
Traceback (most recent call last):
  File "./updatesysop.py", line 209, in 
    print sys.argv[0] + ' *** Error code:    ' + json_dict['ResponseStatus']['ErrorCode']
TypeError: 'int' object has no attribute '__getitem__'
n7nix commented 5 years ago

Thanks.