'command': self.command + " " + os.path.splitext(os.path.basename(f))[0] + os.path.splitext(os.path.basename(f))[1]
'command': self.command + ' \'' + os.path.splitext(os.path.basename(f))[0] + os.path.splitext(os.path.basename(f))[1] + '\''
It looks like you're new here. If you want to get involved, click one of these buttons!