tools/fiograph: improve default config file search
authorVincent Fu <vincent.fu@samsung.com>
Wed, 18 Jan 2023 16:14:14 +0000 (11:14 -0500)
committerVincent Fu <vincent.fu@samsung.com>
Thu, 19 Jan 2023 00:52:15 +0000 (19:52 -0500)
commit69bb4b00b20047e7b5af9a6e35cc872cae605071
tree2d45c29b2c847eb342501a7cfc710de94d7d39cf
parent24ff9393bc3e85c8fb04ca4c2d47adaf5f688e58
tools/fiograph: improve default config file search

When a config file is not explicitly specified the current default is to
search for fiograph.conf only in the current directory. Change this to
try to use fiograph.conf in the directory where fiograph.py is located
when fiograph.conf is not found in the current directory.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
tools/fiograph/fiograph.py