Johannes commited on
Commit
89cbaf7
1 Parent(s): 670b2b6

corrected error message

Browse files
Files changed (1) hide show
  1. phind/__init__.py +1 -1
phind/__init__.py CHANGED
@@ -54,7 +54,7 @@ class PhindResponse:
54
  class Search:
55
  def create(prompt: str, actualSearch: bool = True, language: str = 'en') -> dict: # None = no search
56
  if user_agent == '' or cf_clearance == '':
57
- raise ValueError('user_agent must be set, refer to documentation')
58
 
59
  if not actualSearch:
60
  return {
 
54
  class Search:
55
  def create(prompt: str, actualSearch: bool = True, language: str = 'en') -> dict: # None = no search
56
  if user_agent == '' or cf_clearance == '':
57
+ raise ValueError('user_agent and cf_clearance must be set, refer to documentation')
58
 
59
  if not actualSearch:
60
  return {