Fix get_webview fatal error.

This commit is contained in:
Ian Walton 2021-04-19 20:53:44 -04:00
parent 40b2ec2a79
commit e81ad0182f

View File

@ -36,7 +36,7 @@ def main():
mirror = None
use_gui = False
gui_ready = None
get_webview = None
get_webview = lambda: None
if settings.enable_gui:
try:
from .gui_mgr import user_interface