X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fmrstub%2Fapp%2Fmain.py;h=75364354fb97201d8aafdc64c7d3d63b69c8adec;hb=c8f92e94bb2638aa66a1d7c2ba63375bbfcdc8c9;hp=dd80f3f9d0b38e0b9165628a21ded7ad36d72db5;hpb=0ade79498db21c8db3ecdd96ec30eb006e593acb;p=nonrtric.git diff --git a/test/mrstub/app/main.py b/test/mrstub/app/main.py index dd80f3f9..75364354 100644 --- a/test/mrstub/app/main.py +++ b/test/mrstub/app/main.py @@ -582,7 +582,7 @@ if os.getenv("TOPIC_READ") is not None: uploader_thread=Thread(target=dmaap_uploader) uploader_thread.start() -if os.environ['GENERIC_TOPICS_UPLOAD_BASEURL'] is not None: +if 'GENERIC_TOPICS_UPLOAD_BASEURL' in os.environ: print("GENERIC_TOPICS_UPLOAD_BASEURL:"+os.environ['GENERIC_TOPICS_UPLOAD_BASEURL']) generic_topics_upload_baseurl=os.environ['GENERIC_TOPICS_UPLOAD_BASEURL'] if generic_topics_upload_baseurl and generic_uploader_thread is None: