diff --git a/PYAS.py b/PYAS.py index a5602fd..4eab554 100644 --- a/PYAS.py +++ b/PYAS.py @@ -834,12 +834,11 @@ class MainWindow_Controller(QMainWindow): fn.append(str(func.name, "utf-8")) except: pass - max_vfl = [] for vfl in function_list: QApplication.processEvents() - max_vfl.append(len(set(fn)&set(vfl))/len(set(fn)|set(vfl))) - print(f'Virus:{int(max(max_vfl)*100)}%') - return max(max_vfl) > 0.9 + if len(set(fn)&set(vfl))/len(set(fn)|set(vfl)) == 1.0: + return True + return False except: return False diff --git a/PYAS_Function.zip b/PYAS_Function.zip index f122399..b2e31f2 100644 Binary files a/PYAS_Function.zip and b/PYAS_Function.zip differ