Cleanup
This commit is contained in:
+6
-2
@@ -230,8 +230,12 @@ def menu_prepare_to_enforce():
|
||||
if not os.path.exists(f"parquet\\condensed_executions_{first_policy}_{second_policy}.parquet"):
|
||||
utils.hashfunctions.condenseExecutions(first_policy,second_policy)
|
||||
|
||||
if os.path.exists(f"parquet\\hashes_rep_unknown_{first_policy}_{second_policy}.parquet") & os.path.exists(f"parquet\\hashes_rep_good_{first_policy}_{second_policy}.parquet") & os.path.exists(f"parquet\\hashes_rep_bad_{first_policy}_{second_policy}.parquet"):
|
||||
utils.hashfunctions.divideSortedHashExecutions(first_policy,second_policy,pups)
|
||||
if (
|
||||
os.path.exists(f"parquet\\hashes_rep_unknown_{first_policy}_{second_policy}.parquet") and
|
||||
os.path.exists(f"parquet\\hashes_rep_good_{first_policy}_{second_policy}.parquet") and
|
||||
os.path.exists(f"parquet\\hashes_rep_bad_{first_policy}_{second_policy}.parquet") and
|
||||
not os.path.exists(f"needs_approved\\hashes_rep_unknown_{first_policy}_{second_policy}.csv")
|
||||
):utils.hashfunctions.divideSortedHashExecutions(first_policy,second_policy,pups)
|
||||
|
||||
elif choice == "3":
|
||||
|
||||
|
||||
Reference in New Issue
Block a user