mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fix profile runcall.
This commit is contained in:
parent
da3237e8a6
commit
66fb366416
@ -289,7 +289,7 @@ def main():
|
||||
if options.profile is not None:
|
||||
import hotshot
|
||||
prof = hotshot.Profile(options.profile)
|
||||
prof.runcall(engine.application.run)
|
||||
prof.runcall(engine.application.run, None)
|
||||
prof.close()
|
||||
else:
|
||||
engine.application.run(None)
|
||||
|
Loading…
Reference in New Issue
Block a user