File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ def on_ready_read(socket: QLocalSocket):
5252
5353
5454def cli_check_file (file_path : str ) -> int :
55+ # python main.py -c C:\Users\jia32\Downloads\Metaminesweeper-snapshot\metaminesweeper\replay
5556 result = {
5657 "error" : "" ,
5758 "data" : []
@@ -97,10 +98,13 @@ def cli_check_file(file_path: str) -> int:
9798 checksum = ui .checksum_guard .get_checksum (
9899 video .raw_data [: - (len (video .checksum ) + 2 )]
99100 )
101+ # print(-(len(video.checksum) + 2))
100102 if video .checksum == checksum :
101103 evf_evfs_files [ide ] = (e , 0 )
102104 else :
103- evf_evfs_files [ide ] = (e , 1 )
105+ evf_evfs_files [ide ] = (e + ' <==> ' + str (list (video .checksum )) +
106+ ' <==> ' + str (list (checksum ))+ ' <==> ' +
107+ str (list (video .raw_data [: - (len (video .checksum ) + 2 )][:40 ]))+ ' <==> ' + str (list (video .raw_data [: - (len (video .checksum ) + 2 )][- 40 :])), 1 )
104108 elif e .endswith (".evfs" ):
105109 # 检验evfs文件是否合法
106110 videos = ms .Evfs (e )
You can’t perform that action at this time.
0 commit comments