forked from indymedia/epicyon
flake8 format
parent
05d2d3d983
commit
a0930a61b8
2
ssb.py
2
ssb.py
|
@ -6,7 +6,6 @@ __maintainer__="Bob Mottram"
|
||||||
__email__ = "bob@freedombone.net"
|
__email__ = "bob@freedombone.net"
|
||||||
__status__ = "Production"
|
__status__ = "Production"
|
||||||
|
|
||||||
import json
|
|
||||||
|
|
||||||
def getSSBAddress(actorJson: {}) -> str:
|
def getSSBAddress(actorJson: {}) -> str:
|
||||||
"""Returns ssb address for the given actor
|
"""Returns ssb address for the given actor
|
||||||
|
@ -38,6 +37,7 @@ def getSSBAddress(actorJson: {}) -> str:
|
||||||
return propertyValue['value']
|
return propertyValue['value']
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|
||||||
def setSSBAddress(actorJson: {}, ssbAddress: str) -> None:
|
def setSSBAddress(actorJson: {}, ssbAddress: str) -> None:
|
||||||
"""Sets an ssb address for the given actor
|
"""Sets an ssb address for the given actor
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue