found bug in posting to ssb... not fixed but commented
This commit is contained in:
parent
b0b13a0769
commit
a00fd5a670
@ -54,6 +54,9 @@ def addToSSB(pathToImage, pathToDB, SSBidentify):
|
|||||||
# get the ssb json from the bash command we just ran
|
# get the ssb json from the bash command we just ran
|
||||||
newssb=result.stdout.read()
|
newssb=result.stdout.read()
|
||||||
print(newssb)
|
print(newssb)
|
||||||
|
|
||||||
|
# ADD HERE A CHECK that newssb is _anything_ if ssb-server isn't running that may show as garbage that will crash the program
|
||||||
|
|
||||||
#convert string to object
|
#convert string to object
|
||||||
json_object = json.loads(newssb)
|
json_object = json.loads(newssb)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user