mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-03 16:31:17 +02:00
use lab branch
use the lab branch for this file use
This commit is contained in:
@@ -779,7 +779,7 @@ def generate_hosts_html(system_info):
|
||||
return template.safe_substitute(system_info)
|
||||
|
||||
def main():
|
||||
log_dir = '/opt/meshing-around/logs'
|
||||
log_dir = '../logs'
|
||||
today = datetime.now().strftime('%Y_%m_%d')
|
||||
log_file = f'meshbot{today}.log'
|
||||
log_path = os.path.join(log_dir, log_file)
|
||||
@@ -791,7 +791,7 @@ def main():
|
||||
network_map_html = generate_network_map_html(log_data)
|
||||
hosts_html = generate_hosts_html(system_info)
|
||||
|
||||
output_dir = '/var/www/html'
|
||||
output_dir = ''
|
||||
index_path = os.path.join(output_dir, 'index.html')
|
||||
|
||||
try:
|
||||
Reference in New Issue
Block a user