doorUpdater: Change "Rental Studio" to "Studio Space"

because legal stuff
This commit is contained in:
Adam Goldsmith 2018-06-03 14:16:32 -04:00
parent 71d3f9ecea
commit 8e82caea0f
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"doors": { "doors": {
"Rental Studio": {"ip": "172.18.51.11", "access": "Rental Studio"}, "Studio Space": {"ip": "172.18.51.11", "access": "Studio Space"},
"Storage Closet": {"ip": "172.18.51.12", "access": "Storage Closet"}, "Storage Closet": {"ip": "172.18.51.12", "access": "Storage Closet"},
"Metal Shop": {"ip": "172.18.51.13", "access": "Metal Shop"}, "Metal Shop": {"ip": "172.18.51.13", "access": "Metal Shop"},
"Wood Shop": {"ip": "172.18.51.14", "access": "Wood Shop"}, "Wood Shop": {"ip": "172.18.51.14", "access": "Wood Shop"},

View File

@ -50,7 +50,7 @@ def getMembershipworksData():
data={"_rt": "946702800", # unknown data={"_rt": "946702800", # unknown
"mux": "", # unknown "mux": "", # unknown
"tid": ",".join(ids), # ids of members to get "tid": ",".join(ids), # ids of members to get
"var": "lvl,xws,xms,xsc,xrs,xfd,xac,phn,eml,lbl,xcf,nam"}) # which columns to get "var": "lvl,xws,xms,xsc,xas,xfd,xac,phn,eml,lbl,xcf,nam"}) # which columns to get
if r.status_code != 200: if r.status_code != 200:
print("MembershipWorks CSV Generation Error: ", r.status_code, r.reason) print("MembershipWorks CSV Generation Error: ", r.status_code, r.reason)
print(r.text) print(r.text)