Moved the code from app-new.py to app.py and deleted the app-new.py

This commit is contained in:
2024-07-13 19:13:35 +02:00
parent 7cbb95b230
commit 3a52b5793f
2 changed files with 1 additions and 504 deletions

2
app.py
View File

@ -58,7 +58,7 @@ class URLSearch:
search_url = f"{self.search_engine_url}{search_query}"
QDesktopServices.openUrl(QUrl(search_url))
else:
print("No valid search term extracted, search disabled.")
QDesktopServices.openUrl(QUrl(self.url)) # Open the URL directly if no valid search term is extracted
class URLManager(QWidget):
def __init__(self):