Commit 4e1ad5a66b9c3fada997c71649c69afb8f598ac8

Authored by Adhidarma Hadiwinoto
1 parent e18bd31fe4
Exists in master

message from advice

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -253,13 +253,13 @@ def adviceLastSN(requestId, modem):
253 253 adviceLastSN(requestid, modem)
254 254  
255 255 elif lastSNFromHistory == LAST_SN:
256   - topupMessage = "Topup gagal berdasarkan advice. {0} = {1}".format(lastSNFromHistory, LAST_SN)
  256 + topupMessage = "Topup gagal berdasarkan advice. {0} = {1}. {2}".format(lastSNFromHistory, LAST_SN, message)
257 257 pushTopupStatus(requestId, '40', topupMessage)
258 258 DISABLE_SEM = 0
259 259  
260 260  
261 261 else:
262   - topupMessage = "SN={0}; Topup berhasil berdasarkan advice. SN is not {1}".format(lastSNFromHistory, LAST_SN)
  262 + topupMessage = "SN={0}; Topup berhasil berdasarkan advice. {1}".format(lastSNFromHistory, message)
263 263 LAST_SN = lastSNFromHistory
264 264 pushTopupStatus(requestId, '00', topupMessage, True)
265 265 DISABLE_SEM = 0