mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
62dcf97363
commit
9da08aeb6b
|
@ -60,6 +60,8 @@ def get_hashtag_categories(base_dir: str,
|
||||||
hashtag = catfile.split('.')[0]
|
hashtag = catfile.split('.')[0]
|
||||||
if len(hashtag) > MAX_TAG_LENGTH:
|
if len(hashtag) > MAX_TAG_LENGTH:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
category_str = None
|
||||||
with open(category_filename, 'r', encoding='utf-8') as fp_category:
|
with open(category_filename, 'r', encoding='utf-8') as fp_category:
|
||||||
category_str = fp_category.read()
|
category_str = fp_category.read()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue