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