Moved the code from app-new.py to app.py and deleted the app-new.py
This commit is contained in:
2
app.py
2
app.py
@ -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):
|
||||
|
||||
Reference in New Issue
Block a user