|
@@ -25,6 +25,8 @@ class orthancQR:
|
|
v={}
|
|
v={}
|
|
response=self.net.get(apiURL)
|
|
response=self.net.get(apiURL)
|
|
#OK if empty,JSON if fail
|
|
#OK if empty,JSON if fail
|
|
|
|
+ if len(response.data)==0:
|
|
|
|
+ return {}
|
|
return orthancDatabaseBrowser.extractJSON(response.data)
|
|
return orthancDatabaseBrowser.extractJSON(response.data)
|
|
|
|
|
|
def sendCFind(self,name,query):
|
|
def sendCFind(self,name,query):
|