Skip to content

Commit

Permalink
Fix issue in SydentInterpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
Azrenbeth authored and Azrenbeth committed Sep 20, 2021
1 parent 1a33a46 commit 62909c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sydent/config/_configparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ def before_get(self, parser, section, option, value, defaults):
)

def before_set(self, parser, section, option, value):
if (section, option) in self.BLACLIST:
if option in self.BLACLIST:
return value
else:
return self._basic_interpolation.before_set(parser, section, option, value)

def before_read(self, parser, section, option, value):
if (section, option) in self.BLACLIST:
if option in self.BLACLIST:
return value
else:
return self._basic_interpolation.before_read(parser, section, option, value)

def before_write(self, parser, section, option, value):
if (section, option) in self.BLACLIST:
if option in self.BLACLIST:
return value
else:
return self._basic_interpolation.before_write(
Expand Down

0 comments on commit 62909c4

Please sign in to comment.