FileHelper.download requires a string not a URI. I also found another
instance of using open-uri directly and swapped it out to use
FileHelper.
I also updated it to not `read` a file if it comes back nil.
Follow up to:
|
||
|---|---|---|
| .. | ||
| assets/javascripts/initializers | ||
| autoload/jobs | ||
| config | ||
| db/fixtures | ||
| lib/discourse_narrative_bot | ||
| public/images | ||
| spec | ||
| plugin.rb | ||