pyblish/pyblish-base

Discover can accept string as paths

tokejepsen opened this issue · 0 comments

Description

I used pyblish.api.discover with a string for the paths keyword, and got confused that it returned an empty list.

Short reproducible

import pyblish.api

print pyblish.api.discover(paths="/path/to/som/plugins")

Returns

[]

Suggested solution

Raise an error when passing in any but lists.