repairs stupid

This commit is contained in:
Michael Beck
2025-02-06 00:15:24 +01:00
parent d081551e9b
commit 587bed201e
2 changed files with 12 additions and 7 deletions

4
app.py
View File

@@ -26,7 +26,7 @@ API_KEY = config['DEFAULT']['API_KEY']
bootstrap = Bootstrap5(app)
app.config['BOOTSTRAP_BOOTSWATCH_THEME'] = 'sandstone'
app.config['BOOTSTRAP_BOOTSWATCH_THEME'] = 'litera'
# Initialize the logger
logger = logging.getLogger(__name__)
@@ -131,7 +131,7 @@ def tail(filename, n):
yield ''
return
page_size = config['LOGGING']['TAIL_PAGE_SIZE']
page_size = int(config['LOGGING']['TAIL_PAGE_SIZE'])
offsets = []
count = _n = n if n >= 0 else -n