Skip to content

Commit

Permalink
fix: Import correct YAML library to resolve compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SebB committed Mar 21, 2024
1 parent d58dba0 commit c1dc58d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/feeds-config-generator/intelmq_gen_feeds_conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import json
import sys

try:
import yaml
from ruamel.yaml import YAML
yaml = YAML(typ="safe", pure=True)
except ImportError:
print("[-] Please install yaml using the following command: 'pip install pyyaml'.", file=sys.stderr)
sys.exit(-1)
Expand Down

0 comments on commit c1dc58d

Please sign in to comment.