diff --git a/delete_files_with_size.py b/delete_files_with_size.py new file mode 100644 index 0000000..7b0119d --- /dev/null +++ b/delete_files_with_size.py @@ -0,0 +1,12 @@ +# show file list on the dir +import os + +file_list = os.listdir() + +for file in file_list: + if file.endswith(".png"): + file_size = os.path.getsize(file) + print(file + ":{}".format(file_size)) + if file_size < 300000: + os.remove(file) + diff --git a/src/workers/OCRChecker.js b/src/workers/OCRChecker.js index ca7d1f6..07b0ab3 100644 --- a/src/workers/OCRChecker.js +++ b/src/workers/OCRChecker.js @@ -77,7 +77,7 @@ const BRAVE_SKIP_PRIVACY_PAGE = "Partagez des informations" const BRAVE_SKIP_PRIVACY_PAGE_3 = "Partagez de informations" const BRAVE_SKIP_PRIVACY_PAGE_2 = "Partagez des renseignements" -const PUSH_NOTIFICATION_1 = "Brave à vous envoyer des notifications " +const PUSH_NOTIFICATION_1 = "Brave à vous envoyer des notifications" class OCRChecker {