fix syntax error about missing closing ')'

for/master
Harald Welte 6 years ago
parent 2af5ece320
commit ae9dbeb740

@ -124,7 +124,7 @@ class DPDeliveryCarrier(models.Model):
position = im.build_position(service.code, im_sender, im_recipient)
im.add_position(position)
if im.wallet_balance < im.compute_total():
raise Warning("Wallet balance %f is less than label cost %f!" % (im.wallet_balance/100, im.compute_total()/100)
raise Warning("Wallet balance %f is less than label cost %f!" % (im.wallet_balance/100, im.compute_total()/100))
r = im.checkoutPNG()
voucher = r.shoppingCart.voucherList.voucher[0]
filename = 'DP'+voucher.voucherId+'.png'

Loading…
Cancel
Save