Skip to content

Commit

Permalink
Finished test. Ready to release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mintnick committed Jan 23, 2022
1 parent 3c7c604 commit 8a30f6d
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 12 deletions.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
2 changes: 1 addition & 1 deletion src/esi.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ def get_character_name(self, id):
name = json.loads(data.read().decode())['name']
return name
except urllib.error.HTTPError as e:
return '<未知>'
return '<已删除角色>'
10 changes: 5 additions & 5 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

'''variables'''
title = 'ESAM' # title
icon = '..' + os.sep + 'images' + os.sep + 'icon.ico' # icon
#icon = '..' + os.sep + 'images' + os.sep + 'icon.ico' # icon
size = '700x600+400+400' # size
selected_btn_color = "#ABEBC6"

Expand All @@ -46,8 +46,8 @@
'''render GUI'''
def createGUI():
root.title(title)
if isfile(icon):
root.iconbitmap(icon)
# if isfile(icon):
# root.iconbitmap(icon)
root.geometry(size)
root.resizable(0, 0)

Expand Down Expand Up @@ -251,8 +251,8 @@ def overwrite():
if msg_c or msg_a:
msg_c = '<未选择角色>' if not selected_c else msg_c
msg_a = '<未选择账号>' if not selected_a else msg_a
confirm = messagebox.askyesno(title='确认用下面的模板覆盖所有设置?',
message=(msg_c + '\n\n ' + msg_a))
confirm = messagebox.askyesno(title='确认覆盖',
message=('确认用以下模板覆盖所有设置?\n\n' + msg_c + '\n\n ' + msg_a))
if confirm:
fileReader.overwrite(selected_path.get(), characters, selected_c_id, accounts, selected_a_id)
refresh_files()
Expand Down
6 changes: 0 additions & 6 deletions 使用说明.txt

This file was deleted.

0 comments on commit 8a30f6d

Please sign in to comment.