remove duplicate import.
parent
8c13d008bd
commit
2fbadb0bf3
|
@ -17,7 +17,6 @@ except ImportError:
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import platform
|
import platform
|
||||||
import json
|
|
||||||
import webbrowser
|
import webbrowser
|
||||||
import pyperclip
|
import pyperclip
|
||||||
import base64
|
import base64
|
||||||
|
@ -862,8 +861,6 @@ def btn_save_act(language_code, slience_mode=False):
|
||||||
|
|
||||||
return is_all_data_correct
|
return is_all_data_correct
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def btn_run_clicked(language_code):
|
def btn_run_clicked(language_code):
|
||||||
print('run button pressed.')
|
print('run button pressed.')
|
||||||
Root_Dir = ""
|
Root_Dir = ""
|
||||||
|
@ -874,6 +871,7 @@ def btn_run_clicked(language_code):
|
||||||
|
|
||||||
def launch_maxbot():
|
def launch_maxbot():
|
||||||
working_dir = os.path.dirname(os.path.realpath(__file__))
|
working_dir = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
print("working_dir:", working_dir)
|
||||||
if hasattr(sys, 'frozen'):
|
if hasattr(sys, 'frozen'):
|
||||||
print("execute in frozen mode")
|
print("execute in frozen mode")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue