mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-19 09:14:18 -05:00
PEP8
This commit is contained in:
parent
4bd3d25218
commit
17515bae14
@ -240,7 +240,6 @@ class PreviewUrlResource(BaseMediaResource):
|
|||||||
|
|
||||||
respond_with_json_bytes(request, 200, json.dumps(og), send_cors=True)
|
respond_with_json_bytes(request, 200, json.dumps(og), send_cors=True)
|
||||||
|
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _calc_og(self, tree, media_info, requester):
|
def _calc_og(self, tree, media_info, requester):
|
||||||
# suck our tree into lxml and define our OG response.
|
# suck our tree into lxml and define our OG response.
|
||||||
|
Loading…
Reference in New Issue
Block a user