Less indentation

main
bashrc 2026-07-22 12:34:38 +01:00
parent 904752652a
commit 9f03aa51ce
1 changed files with 25 additions and 26 deletions

View File

@ -205,10 +205,9 @@ def get_featured_tags_collection(self, calling_domain: str,
'totalItems': 0, 'totalItems': 0,
'type': 'Collection' 'type': 'Collection'
} }
if is_a_dir(account_dir):
featured_tags_filename: str = \ featured_tags_filename: str = \
account_dir + '/featured_hashtags.txt' account_dir + '/featured_hashtags.txt'
if is_a_file(featured_tags_filename): if is_a_dir(account_dir) and is_a_file(featured_tags_filename):
hashtags_str: str = \ hashtags_str: str = \
load_string(featured_tags_filename, load_string(featured_tags_filename,
'EX: unable to load featured hashtags ' + 'EX: unable to load featured hashtags ' +