File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 77import requests
88import zipfile
99from hashlib import sha256
10- from jsonschema import Draft4Validator , FormatChecker
10+ from jsonschema import Draft7Validator , FormatChecker
1111import win32api
1212from win32api import GetFileVersionInfo , LOWORD , HIWORD
1313
@@ -97,7 +97,7 @@ def gen_pl_table(filename):
9797def parse (filename ):
9898 try :
9999 schema = json .loads (open ("pl.schema" ).read ())
100- schema = Draft4Validator (schema , format_checker = FormatChecker ())
100+ schema = Draft7Validator (schema , format_checker = FormatChecker ())
101101 except ValueError as e :
102102 post_error ("pl.schema - " + str (e ))
103103 return
@@ -149,7 +149,7 @@ def parse(filename):
149149 dll_name = f'{ plugin ["folder-name" ]} .dll' .lower ()
150150
151151 # Notepad++ is not case sensitive, but extracting files from the zip is,
152- # so find the exactfile name to use
152+ # so find the exact file name to use
153153 for file in zip .namelist ():
154154 if dll_name == file .lower ():
155155 dll_name = file
You can’t perform that action at this time.
0 commit comments