found bug in posting to ssb... not fixed but commented
This commit is contained in:
parent
b0b13a0769
commit
a00fd5a670
@ -40,7 +40,7 @@ def addToDB(pathToImage, pathToDB,composite):
|
||||
|
||||
|
||||
def addToSSB(pathToImage, pathToDB, SSBidentify):
|
||||
|
||||
|
||||
#unless you say don't post to ssb, post to ssb
|
||||
if SSBidentify != -1:
|
||||
#SEND TO SSB! WOOOO
|
||||
@ -54,6 +54,9 @@ def addToSSB(pathToImage, pathToDB, SSBidentify):
|
||||
# get the ssb json from the bash command we just ran
|
||||
newssb=result.stdout.read()
|
||||
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
|
||||
json_object = json.loads(newssb)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user