mibuild/programmer: fix XC3SProg init
authorSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 3 Aug 2014 07:52:34 +0000 (15:52 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 3 Aug 2014 07:52:34 +0000 (15:52 +0800)
mibuild/programmer.py

index 0de798881330415ddabafb73fbfcbb461172d653..24f2d48fa712a9785a97ae7a3345cc629cb100e6 100644 (file)
@@ -53,7 +53,7 @@ class XC3SProg(Programmer):
        needs_flash_proxy = True
 
        def __init__(self, cable, flash_proxy_basename=None):
-               Programmer.__init__(flash_proxy_basename)
+               Programmer.__init__(self, flash_proxy_basename)
                self.cable = cable
 
        def load_bitstream(self, bitstream_file):