fosuoy / Company-House-API-Search

A helpful command line utility which uses the Company House API to search for companies given a search string and a regex of the postcode you are looking for companies within - uses are lead generation / job searching, enjoy
1 stars 0 forks source link

Still not working - post code variable #2

Open Redrichmond opened 7 years ago

Redrichmond commented 7 years ago

Traceback (most recent call last): File "C:\Users\company_house_search.py", line 87, in post_code_regex = args.p if args.p else POST_CODE_REGEX NameError: name 'POST_CODE_REGEX' is not defined

So the Variable needs ' ' around the key and Search which I have done... it cant be "NONE"..

Leaving postcode blank or just putting ' ' or '' or none gives the error....