Skip to content

Commit

Permalink
Refine code
Browse files Browse the repository at this point in the history
  • Loading branch information
jondy committed Jul 15, 2018
1 parent 3f0cb52 commit 6696f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webui/_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ def newLicense(args):
title = args['rcode'].strip()

params = ['licenses', '--project', path]
for opt in ('expired', 'bind-disk', 'bind-ipv4', 'bind-mac'):
for opt in ('expired', 'bind_disk', 'bind_ipv4', 'bind_mac'):
if args[opt]:
params.extend(['--%s' % opt, args[opt]])
params.extend(['--%s' % opt.replace('_', '-'), args[opt]])
params.append(title)
_pyarmor(params)

Expand Down

0 comments on commit 6696f2c

Please sign in to comment.