Skip to content

Commit

Permalink
disable strict mode for configparser
Browse files Browse the repository at this point in the history
  • Loading branch information
adubkov committed Apr 29, 2020
1 parent cfa5b8d commit b19b708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyzabbix/sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _load_from_config(self, config_file):
configparser.RawConfigParser.__init__).kwonlyargs

if 'strict' in args:
params['strict'] = True
params['strict'] = False

config_file_fp = StringIO(config_file_data)
config = configparser.RawConfigParser(**params)
Expand Down

0 comments on commit b19b708

Please sign in to comment.