chg: [flask] cleanup

pull/604/head
Terrtia 2023-08-02 13:51:13 +02:00
parent 7d19da0806
commit 859591b53f
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 0 additions and 11 deletions

View File

@ -251,17 +251,6 @@ default_taxonomies = ["infoleak", "gdpr", "fpf", "dark-web"]
for taxonomy in default_taxonomies: for taxonomy in default_taxonomies:
Tag.enable_taxonomy_tags(taxonomy) Tag.enable_taxonomy_tags(taxonomy)
# ========== INITIAL tags auto export ============
# from pytaxonomies import Taxonomies
# taxonomies = Taxonomies()
#
# infoleak_tags = taxonomies.get('infoleak').machinetags()
# infoleak_automatic_tags = []
# for tag in taxonomies.get('infoleak').machinetags():
# if tag.split('=')[0][:] == 'infoleak:automatic-detection':
# r_serv_db.sadd('list_export_tags', tag)
#
# r_serv_db.sadd('list_export_tags', 'infoleak:submission="manual"')
# ============ MAIN ============ # ============ MAIN ============
if __name__ == "__main__": if __name__ == "__main__":