Skip to content

Commit 1097bee

Browse files
committed
Everything is happy
1 parent 7fd3949 commit 1097bee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DockerENT/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""DockerENT - Runtime Docker scanning framework."""
22

3-
__version__ = '0.1.7'
3+
__version__ = '0.1.12'

DockerENT/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ def sigterm_handler(_signo, _stack_frame):
138138
if webapp:
139139
_log.info('Starting web application ...')
140140

141-
sys.path.append(os.path.abspath(os.path.join('..')))
142-
web_app_cmd = "streamlit run web_app.py"
141+
web_app_file_name = os.path.dirname(DockerENT.__file__) + '/web_app.py'
142+
web_app_cmd = "streamlit run " + web_app_file_name
143143

144144
with subprocess.Popen(web_app_cmd.split(" ")) as web_process:
145145
_log.info(web_process.stdout.read())

0 commit comments

Comments
 (0)