0

当我编辑小波的 root_blip 时,一切正常,但如果我获取小波,googleWave 和日志中都不会发生任何事情(没有发生错误),尽管“wave_list.reply(文本)”有效。我已经做了 myRobot.setup_oauth()

def OnWaveletSelfAdded(event, wavelet):  
  text = "123"  
  wave_list = myRobot.fetch_wavelet(wave_id="googlewave.com!w+O5yFQIteC", wavelet_id="googlewave.com!conv+root")  
  wave_list.submit_with(wavelet)  
  root_blip = wave_list.root_blip  
  root_blip.all().delete()  
  root_blip.append("WaveList\n" + text)  
  logging.info("root_blip.wave_id: %s" % root_blip.wave_id)

我究竟做错了什么?我试过 myRobot.submit(wave_list) - 也没有结果

4

1 回答 1

0
  wave_list = myRobot.fetch_wavelet(wave_id = wave_id, wavelet_id="googlewave.com!conv+root")  
  root_blip = wave_list.root_blip  
  root_blip.all().delete()  
  root_blip.append("WaveList:\n")
  myRobot.submit(wave_list)

解决了...

于 2010-07-18T08:03:41.493 回答