V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
ray1980

Project Picky 的 tweets最上面的@地址不对

  •  
  •   ray1980 · Jul 20, 2010 · 5228 views
    This topic created in 5770 days ago, the information mentioned may be changed or developed.
    我的是@ray1980
    链接是@raymend
    5 replies    1970-01-01 08:00:00 +08:00
    cnleoyang
        1
    cnleoyang  
       Jul 22, 2010
    是的,代码这里写错了:

    main.py ln:230
    template_values['twitter_account'] = tweets[0].user.name;
    cnleoyang
        2
    cnleoyang  
       Jul 22, 2010
    或许作者写代码需要在php和python间切换,部分python代码语句结尾是分号。
    Fann
        3
    Fann  
       Jul 22, 2010
    template_values['twitter_account'] = tweets[0].user.name;
    =>
    template_values['twitter_account'] = tweets[0].user.screen_name;
    cnleoyang
        4
    cnleoyang  
       Jul 22, 2010
    template_values['twitter_account'] = twitter_account
    Fann
        5
    Fann  
       Jul 22, 2010
    @cnleoyang 省力。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2823 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 15:38 · PVG 23:38 · LAX 08:38 · JFK 11:38
    ♥ Do have faith in what you're doing.