mirror of
https://github.com/mnaberez/py65.git
synced 2025-08-12 22:25:14 +00:00
Remove unnecessary upper()
>>> int('ffff',16) 65535 >>> int('FFFF',16) 65535
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user