diff --git a/proc.wav b/proc.wav new file mode 100644 index 0000000..6f1ae25 Binary files /dev/null and b/proc.wav differ diff --git a/点名器.pyw b/点名器.pyw index f758f82..51895b2 100644 --- a/点名器.pyw +++ b/点名器.pyw @@ -5,6 +5,7 @@ import random import sys import win32con, win32api import winsound +import time gui_size = "620x200" @@ -33,6 +34,7 @@ down_persent = 40 filename = "names.xls" configname = "config.data" selname = "sel.wav" +procname = "proc.wav" elim_rows = 1 percent_override = True @@ -157,11 +159,9 @@ def choose(): cur_stu = temp[:] else: protection_override = False - if not cur_stu: protection_override = False sel_class(0) - choice = random.choice(cur_stu) # print(choice.name) counter = 0;