Minor changes

This commit is contained in:
rune 2024-07-08 10:14:31 +02:00
parent 19c6ac5c46
commit b0f800b810

6
app.py
View File

@ -1,9 +1,9 @@
#!/usr/bin/python3
import sys
import cmd
# The next line is for my setup. This might not be correct for every setup!
sys.path.append("/opt/homebrew/lib/python3.11/site-packages")
import sqlite3
import cmd
import requests
from bs4 import BeautifulSoup
@ -17,7 +17,7 @@ def cleanlist(my_list):
if max_len != None:
retList = []
for x in my_list:
if len(x) == (max_len + 3):
if len(x) <= (max_len + 3):
retList.append(x)
return retList
else: