mirror of https://gitlab.com/bashrc2/epicyon
Test is not case sensitive
parent
16548ddbad
commit
cb24ea272d
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue