mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 02:49:26 -05:00
fix StoreError syntax
This commit is contained in:
parent
c22e73293a
commit
cdc2cb5d11
@ -38,7 +38,7 @@ class ProfileStore(SQLBaseStore):
|
||||
retcols=("displayname", "avatar_url"),
|
||||
desc="get_profileinfo",
|
||||
)
|
||||
except StoreError, e:
|
||||
except StoreError as e:
|
||||
if e.code == 404:
|
||||
# no match
|
||||
defer.returnValue(ProfileInfo(None, None))
|
||||
|
Loading…
Reference in New Issue
Block a user