There should be a blank between `,`, i.e., os.path.join(froi_dir, 'gui/icon').
In addition, you can use the function `get_icon_dir` here.