x = "No Threat Detected"
y = "Threat Detected"
Zone = "Zone 1"
threat = False
message = """<html lang="en">
<head>
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../../../favicon.ico">

    <title>Cover Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="cover.css" rel="stylesheet">
</head>
<body>
    <div class="site-wrapper-inner">

        <div class="cover-container">

            <header class="masthead clearfix">
                <div class="inner">
                    <!--<h3 class="masthead-brand">Cover</h3>-->
                    <nav class="nav nav-masthead">
                        <a class="nav-link active" href="#">Home</a>
                        <a class="nav-link" href="#">Features</a>
                        <a class="nav-link" href="#">Contact</a>
                    </nav>
                </div>
            </header>
        <main role="main" class="inner cover">
            <h1 class="cover-heading">Threat or No Threat</h1>
            <meta charset="utf-8">
            <style media="screen">
			body {
				display: flex;
				min-height: 100vh;
				width: 100%;
				padding: 0;
				margin: 0;
				align-items: center;
				justify-content: center;
				flex-direction: column;
			}
			#uploader {
				-webkit-appearance: none;
				appearance: none;
				width: 50%;
				margin-bottom: 10px;
			}
			</style>
        </main>

            <footer class="mastfoot">
                <div class="inner">
                    <!--<p>Cover template for <a href="https://getbootstrap.com/">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>-->
                </div>
            </footer>

        </div>

    </div>

</div>
<h2>"""

with open("Output.html", "w") as my_file:
    my_file.write(message)
    if threat is False:
        my_file.write(x)
    else:
        my_file.write(y)
        my_file.write("<br>")
        my_file.write(Zone)
    my_file.write("</h2></body></html>")
092b79bd1ed09b6d197e583b6ed95595ee3b5591
<mask token>

<mask token>
with open('Output.html', 'w') as my_file:
    my_file.write(message)
    if threat is False:
        my_file.write(x)
    else:
        my_file.write(y)
        my_file.write('<br>')
        my_file.write(Zone)
    my_file.write('</h2></body></html>')

x = 'No Threat Detected'
y = 'Threat Detected'
Zone = 'Zone 1'
threat = False
message = """<html lang="en">
<head>
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../../../favicon.ico">

    <title>Cover Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="cover.css" rel="stylesheet">
</head>
<body>
    <div class="site-wrapper-inner">

        <div class="cover-container">

            <header class="masthead clearfix">
                <div class="inner">
                    <!--<h3 class="masthead-brand">Cover</h3>-->
                    <nav class="nav nav-masthead">
                        <a class="nav-link active" href="#">Home</a>
                        <a class="nav-link" href="#">Features</a>
                        <a class="nav-link" href="#">Contact</a>
                    </nav>
                </div>
            </header>
        <main role="main" class="inner cover">
            <h1 class="cover-heading">Threat or No Threat</h1>
            <meta charset="utf-8">
            <style media="screen">
			body {
				display: flex;
				min-height: 100vh;
				width: 100%;
				padding: 0;
				margin: 0;
				align-items: center;
				justify-content: center;
				flex-direction: column;
			}
			#uploader {
				-webkit-appearance: none;
				appearance: none;
				width: 50%;
				margin-bottom: 10px;
			}
			</style>
        </main>

            <footer class="mastfoot">
                <div class="inner">
                    <!--<p>Cover template for <a href="https://getbootstrap.com/">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>-->
                </div>
            </footer>

        </div>

    </div>

</div>
<h2>"""
with open('Output.html', 'w') as my_file:
    my_file.write(message)
    if threat is False:
        my_file.write(x)
    else:
        my_file.write(y)
        my_file.write('<br>')
        my_file.write(Zone)
    my_file.write('</h2></body></html>')

x = "No Threat Detected"
y = "Threat Detected"
Zone = "Zone 1"
threat = False
message = """<html lang="en">
<head>
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../../../favicon.ico">

    <title>Cover Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="cover.css" rel="stylesheet">
</head>
<body>
    <div class="site-wrapper-inner">

        <div class="cover-container">

            <header class="masthead clearfix">
                <div class="inner">
                    <!--<h3 class="masthead-brand">Cover</h3>-->
                    <nav class="nav nav-masthead">
                        <a class="nav-link active" href="#">Home</a>
                        <a class="nav-link" href="#">Features</a>
                        <a class="nav-link" href="#">Contact</a>
                    </nav>
                </div>
            </header>
        <main role="main" class="inner cover">
            <h1 class="cover-heading">Threat or No Threat</h1>
            <meta charset="utf-8">
            <style media="screen">
			body {
				display: flex;
				min-height: 100vh;
				width: 100%;
				padding: 0;
				margin: 0;
				align-items: center;
				justify-content: center;
				flex-direction: column;
			}
			#uploader {
				-webkit-appearance: none;
				appearance: none;
				width: 50%;
				margin-bottom: 10px;
			}
			</style>
        </main>

            <footer class="mastfoot">
                <div class="inner">
                    <!--<p>Cover template for <a href="https://getbootstrap.com/">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>-->
                </div>
            </footer>

        </div>

    </div>

</div>
<h2>"""

with open("Output.html", "w") as my_file:
    my_file.write(message)
    if threat is False:
        my_file.write(x)
    else:
        my_file.write(y)
        my_file.write("<br>")
        my_file.write(Zone)
    my_file.write("</h2></body></html>")