mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 14:16:08 -06:00
fix: bui-agent cannot display its current version
This commit is contained in:
parent
fa9aed5ce8
commit
03999a173a
1 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,8 @@ def parse_args(name=None):
|
|||
options = parser.parse_args()
|
||||
|
||||
if options.version:
|
||||
from burpui_agent import __title__, __version__, __release__
|
||||
from burpui_agent import __title__
|
||||
from burpui_agent.desc import __version__, __release__
|
||||
ver = '{}: v{}'.format(mname or __title__, __version__)
|
||||
if options.log:
|
||||
ver = '{} ({})'.format(ver, __release__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue