lbxtoolkit 2.0.3__tar.gz → 2.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/PKG-INFO +1 -1
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/lbxtoolkit/__init__.py +3 -3
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/lbxtoolkit.egg-info/PKG-INFO +1 -1
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/setup.py +1 -1
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/LICENSE +0 -0
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/README.md +0 -0
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/lbxtoolkit.egg-info/SOURCES.txt +0 -0
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/lbxtoolkit.egg-info/dependency_links.txt +0 -0
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/lbxtoolkit.egg-info/requires.txt +0 -0
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/lbxtoolkit.egg-info/top_level.txt +0 -0
- {lbxtoolkit-2.0.3 → lbxtoolkit-2.0.4}/setup.cfg +0 -0
|
@@ -546,11 +546,11 @@ class api_rest: # Classe para interação com APIs Rest (especialmente Sienge)
|
|
|
546
546
|
if not 200 <= CodRet <= 299:
|
|
547
547
|
try:
|
|
548
548
|
DicRetorno = eval(Retorno.replace('null','None').replace(r'\n\t',' '))
|
|
549
|
-
if 'clientMessage' in DicRetorno:
|
|
549
|
+
if 'clientMessage' in DicRetorno and DicRetorno['clientMessage'] not in ['None', None, '', ' ', 'null']:
|
|
550
550
|
MsgErro = DicRetorno['clientMessage']
|
|
551
|
-
elif 'developerMessage' in DicRetorno:
|
|
551
|
+
elif 'developerMessage' in DicRetorno and DicRetorno['developerMessage'] not in ['None', None, '', ' ', 'null']:
|
|
552
552
|
MsgErro = DicRetorno['developerMessage']
|
|
553
|
-
elif 'message' in DicRetorno:
|
|
553
|
+
elif 'message' in DicRetorno and DicRetorno['message'] not in ['None', None, '', ' ', 'null']:
|
|
554
554
|
MsgErro = DicRetorno['message']
|
|
555
555
|
else:
|
|
556
556
|
MsgErro = Retorno
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|