1👍
✅
Your file_path
function is not returning a directory name. It is returning ‘c_obj13.jpg’ (when self.id
is 13). Because of this, there is no directory (note the absence of a directory seperator).
Source:stackexchange.com