fix: bui-agent cannot display its current version

parent fa9aed5c
......@@ -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__)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment