From 89cbaf7b616f5520442d67fc0816d94cdcfcfa4c Mon Sep 17 00:00:00 2001 From: Johannes Date: Wed, 26 Apr 2023 08:07:23 +0200 Subject: corrected error message --- phind/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phind/__init__.py') diff --git a/phind/__init__.py b/phind/__init__.py index b4e518bc..bd54d82a 100644 --- a/phind/__init__.py +++ b/phind/__init__.py @@ -54,7 +54,7 @@ class PhindResponse: class Search: def create(prompt: str, actualSearch: bool = True, language: str = 'en') -> dict: # None = no search if user_agent == '' or cf_clearance == '': - raise ValueError('user_agent must be set, refer to documentation') + raise ValueError('user_agent and cf_clearance must be set, refer to documentation') if not actualSearch: return { -- cgit v1.2.3