1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-01 18:41:32 +00:00

Remove unnecessary upper()

>>> int('ffff',16)
65535
>>> int('FFFF',16)
65535
This commit is contained in:
Mike Naberezny 2016-10-07 13:38:31 -07:00
parent 71073be244
commit fe72839124

View File

@ -78,10 +78,10 @@ class Monitor(cmd.Cmd):
for opt, value in options:
if opt in ('-i', '--input'):
self.getc_addr = int(value.upper(), 16)
self.getc_addr = int(value, 16)
if opt in ('-o', '--output'):
self.putc_addr = int(value.upper(), 16)
self.putc_addr = int(value, 16)
if opt in ('-l', '--load'):
flag_load = True