some small fixes

main
serr 2025-03-16 19:06:33 +03:00
parent 76f7be48b1
commit eea3fddb2b
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,5 @@
# ВНИМАНИЕ: Сравнивает 2 бинарника, !!!! скомпилированных под x64 !!!!
import sqlite3
import os, time
import subprocess
@ -64,7 +66,6 @@ def generate_output_db(diaphora_path, sqlite1_path, sqlite2_path, output_path):
try:
# capture_output=True подавляет вывод сообщений от субпроцесса
subprocess.run(cmd, check=True, capture_output=True)
print(f"\033[92mSuccess subprocess run\033[0m")
except subprocess.CalledProcessError as e:
print(f"\033[31mError subprocess run: {e.stderr}\033[0m")