Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
fix: removed unexpected argument for yaml.safe_load
Browse files Browse the repository at this point in the history
  • Loading branch information
lingy1028 committed Jul 20, 2021
1 parent 50b19ca commit 7dfb5b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splunk_connect_for_snmp_mib_server/snmp_mib_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def main():
logger.info("Completed Argument parsing")

with open(config_file, "r") as yamlfile:
server_config = yaml.safe_load(yamlfile, Loader=yaml.FullLoader)
server_config = yaml.safe_load(yamlfile)

upload_mibs(server_config)
mib_server = MibServer(args, server_config)
Expand Down

0 comments on commit 7dfb5b5

Please sign in to comment.