diff --git a/web/app.py b/web/app.py index d0b30c7..9eead58 100644 --- a/web/app.py +++ b/web/app.py @@ -6626,19 +6626,19 @@ Name: ''' + p.name + '''  -  Port: ''' + str( ''' - try: - for i in table_dict.items(): - content = content + ''' +## try: + for i in table_dict.items(): + content = content + ''' - ''' + str(int_id(i[0])) + ''' - ''' + str((i[1][0])) + ''' - ''' + str((svr.unit_time + datetime.datetime.fromtimestamp(i[1][1]) + timedelta(hours=hbnet_tz)).strftime(time_format)) + ''' - + ''' + str(int_id(i[0])) + ''' + ''' + str((i[1][0])) + ''' + ''' + str((timedelta(seconds=svr.unit_time) + datetime.datetime.fromtimestamp(i[1][1])).strftime(time_format)) + ''' + ''' - content = content + '' - except: - content = '

No UNIT table.

' + content = content + '' +## except: +## content = '

No UNIT table.

' return render_template('flask_user_layout.html', markup_content = Markup(content))