mirror of
https://github.com/romanz/amodem.git
synced 2026-02-06 00:36:20 +08:00
amodem: fix plot option
This commit is contained in:
@@ -120,7 +120,7 @@ def main():
|
||||
|
||||
# Parsing and execution
|
||||
log.debug('MODEM settings: %r', config.settings)
|
||||
if args.plot:
|
||||
if getattr(args, 'plot', False):
|
||||
import pylab
|
||||
args.plot = pylab
|
||||
args.main(args)
|
||||
|
||||
Reference in New Issue
Block a user