- r = os.system('curl -f https://dcpomatic.com/supporters.cc?%s > src/wx/supporters.cc' % urlencode({"until": last_date.strip()}))
- if (r >> 8) != 0:
- raise Exception("Could not download supporters list")
+ r = os.system('curl -s -f https://dcpomatic.com/supporters.cc?%s > src/wx/supporters.cc' % urlencode({"until": last_date.strip()}))
+ if (r >> 8) == 0:
+ r = os.system('curl -s -f https://dcpomatic.com/subscribers.cc?%s > src/wx/subscribers.cc' % urlencode({"until": last_date.strip()}))
+ if (r >> 8) != 0 and can_fail:
+ raise Exception("Could not download supporters lists")