forked from LBRYCommunity/lbry-sdk
Rename var in Settings.update()
This commit is contained in:
parent
879c01ba00
commit
ef8d1cfdc2
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ class Settings(object):
|
|||
def get_dict(self):
|
||||
return {k: self[k] for k in self}
|
||||
|
||||
def update(self, other):
|
||||
for k, v in other.iteritems():
|
||||
def update(self, updated_settings):
|
||||
for k, v in updated_settings.iteritems():
|
||||
try:
|
||||
self.__setitem__(k, v)
|
||||
except (KeyError, AssertionError):
|
||||
|
|
Loading…
Reference in a new issue