found bug in posting to ssb... not fixed but commented

This commit is contained in:
trav 2022-08-26 00:35:45 -04:00
parent b0b13a0769
commit a00fd5a670

View File

@ -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)