sbgrid / data-capture-module

5 stars 4 forks source link

compare ints #20

Closed pdurbin closed 7 years ago

pdurbin commented 7 years ago

In ur.py we need to change

if req['datasetIdentifier'] != uid:

to

if int(req['datasetIdentifier']) != int(uid):

to avoid a 500 error when calling sr.py

pdurbin commented 7 years ago

While you're in there,

pameyer commented 7 years ago

efecac28ed940548d469c1c2c9b7730916360b96 should have the fixes now.

pdurbin commented 7 years ago

I'm pretty sure we need 39db3b6 so I pushed it.

pdurbin commented 7 years ago

I was getting a 500 error without it.

pdurbin commented 7 years ago

@pameyer if you feel like we can safely close this issue after I pushed 39db3b6 to master, please go ahead.