Test is not case sensitive

main
Bob Mottram 2022-12-30 20:50:43 +00:00
parent 16548ddbad
commit cb24ea272d
2 changed files with 3 additions and 3 deletions

View File

@ -54,8 +54,8 @@ def _minimize_attached_images(base_dir: str, nickname: str, domain: str,
return return
handle = following_nickname + '@' + following_domain handle = following_nickname + '@' + following_domain
# check that you are following this handle # check that you are following this handle (not case sensitive)
if not text_in_file(handle + '\n', following_filename): if not text_in_file(handle + '\n', following_filename, False):
print('WARN: ' + handle + ' is not in ' + following_filename) print('WARN: ' + handle + ' is not in ' + following_filename)
return return

View File

@ -63,7 +63,7 @@ def minimizing_attached_images(base_dir: str, nickname: str, domain: str,
fp_min.write('') fp_min.write('')
except OSError: except OSError:
print('EX: minimizing_attached_images 2 ' + minimize_filename) print('EX: minimizing_attached_images 2 ' + minimize_filename)
return text_in_file(handle + '\n', minimize_filename) return text_in_file(handle + '\n', minimize_filename, False)
def get_broken_link_substitute() -> str: def get_broken_link_substitute() -> str: