[chirp_devel] [PATCH] [th9800] fix print error with debug on #2187
# HG changeset patch # User Jens Jensen kd4tjx@yahoo.com # Date 1421507624 21600 # Sat Jan 17 09:13:44 2015 -0600 # Node ID 39508861c3a8b2747409258b3c6869b6054a61d8 # Parent b3ed27f5b374361bae24b8d4d8d0c7a799bee55b [th9800] fix print error with debug on #2187
fix exception at upload of "not all arguments converted during string formatting" when CHIRP_DEBUG=True
diff -r b3ed27f5b374 -r 39508861c3a8 chirp/th9800.py --- a/chirp/th9800.py Sun Jan 11 01:37:03 2015 -0800 +++ b/chirp/th9800.py Sat Jan 17 09:13:44 2015 -0600 @@ -636,7 +636,7 @@ ly = _info.prog_yr lm = _info.prog_mon ld = _info.prog_day - print "Updating last program date:%d/%d/%d" % (lm,ld,ly, m,d,y) + print "Updating last program date:%d/%d/%d" % (lm,ld,ly) print " to today:%d/%d/%d" % (m,d,y)
_info.prog_yr = y
participants (1)
-
Jens Jensen