Fix exception in wscript.
authorCarl Hetherington <cth@carlh.net>
Wed, 26 Jun 2019 11:41:43 +0000 (12:41 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 27 Jun 2019 22:56:47 +0000 (23:56 +0100)
wscript

diff --git a/wscript b/wscript
index 89bfff1..e562f67 100644 (file)
--- a/wscript
+++ b/wscript
@@ -546,7 +546,7 @@ def download_supporters(can_fail):
     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 (%d)", r >> 8)
+        raise Exception("Could not download supporters lists (%d)" % (r >> 8))
 
 def build(bld):
     create_version_cc(VERSION, bld.env.CXXFLAGS)