Resolve merge conflicts

This commit is contained in:
Griatch 2019-05-01 19:20:19 +02:00
commit 43bf2da79c
5 changed files with 24 additions and 7 deletions

View file

@ -1169,7 +1169,7 @@ class DefaultAccount(with_metaclass(TypeclassBase, AccountDB)):
"""
# if we have saved protocol flags on ourselves, load them here.
protocol_flags = self.attributes.get("_saved_protocol_flags", None)
protocol_flags = self.attributes.get("_saved_protocol_flags", {})
if session and protocol_flags:
session.update_flags(**protocol_flags)