validate tag alias status
This commit is contained in:
2
e621.py
2
e621.py
@@ -184,4 +184,4 @@ class E621:
|
|||||||
logging.warning(f'{name}: {data}')
|
logging.warning(f'{name}: {data}')
|
||||||
if 'tag_aliases' in data:
|
if 'tag_aliases' in data:
|
||||||
return []
|
return []
|
||||||
return [alias['consequent_name'] for alias in data if alias['status'] == 'active']
|
return [alias['consequent_name'] for alias in data if alias['status'] != 'pending']
|
||||||
|
Reference in New Issue
Block a user