[controller] ++args
This commit is contained in:
parent
bc390a21ea
commit
4251379bc6
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class L2Controller(object):
|
||||||
parser.add_argument('--debug', help='Enable debug logging', action='store_true')
|
parser.add_argument('--debug', help='Enable debug logging', action='store_true')
|
||||||
|
|
||||||
self.args = parser.parse_args()
|
self.args = parser.parse_args()
|
||||||
self.mode = args.mode
|
self.mode = self.args.mode
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue