Signed-off-by: Marius Avram <marius.av...@intel.com> --- upgradehelper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py index 091881f..ef59661 100755 --- a/upgradehelper.py +++ b/upgradehelper.py @@ -617,8 +617,8 @@ class UniverseUpdater(Updater, Email): # Add possible attachments to list attachments = [] for attachment in os.listdir(self.workdir): - attachment_fullpath = os.join(self.workdir, attachment) - if isfile(attachment_fullpath): + attachment_fullpath = os.path.join(self.workdir, attachment) + if os.path.isfile(attachment_fullpath): attachments.append(attachment_fullpath) self.send_email(to_addr, subject, msg_body, attachments) -- 1.7.9.5 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto