remove duplicate import.

master
Max 2023-06-01 10:57:54 +08:00 committed by GitHub
parent 8c13d008bd
commit 2fbadb0bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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")