Skip to content

Commit 72c8da7

Browse files
committed
INTEGRITY: Add metadata information in seeding logs.
1 parent 0860198 commit 72c8da7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

db_functions.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -529,9 +529,7 @@ def db_insert(data_arr, username=None, skiplog=False):
529529
insert_game(
530530
engine_name, engineid, title, gameid, extra, platform, lang, conn
531531
)
532-
533-
log_text = f"size {os.path.getsize(filepath)}, author {author}, version {version}. State {status}."
534-
532+
log_text = f"Engine Name - {engine_name}, Engine ID - {engineid}, Game ID - {gameid}, Title - {title}, Extra - {extra}, Platform - {platform}, Language - {lang}."
535533
if insert_fileset(
536534
src,
537535
detection,

0 commit comments

Comments
 (0)