is_url almost always returns true so can't load JSON from disk #121
Labels
bug
Something isn't working
need_more_info
This tag describes that this issue is lacking enough detail to investigate.
Hey, I ran into a quirk trying to use JSON files from disk. Tracked it down to the is_url() function
utils.py line 26
Environment is ubuntu / poetry / python 3.8.10
Quick sample of testing just this function:
And since the configuration.py get_data() call uses the URL check to determine where to load config data from, it's always calling the request getter to load from URL.
The text was updated successfully, but these errors were encountered: