Changeset b9060c8 in lab.git


Ignore:
Timestamp:
Jan 10, 2011 7:35:17 PM (13 years ago)
Author:
mitty <mitty@…>
Branches:
master, trunk
Children:
04f609d
Parents:
24fa584
Message:
  • save status.yml only when new tweets were found

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@106 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/twitter/twitterbot.pl

    r24fa584 rb9060c8  
    144144} 
    145145 
    146 if ($tweets) { 
     146if (ref $tweets and keys %{$tweets}) { 
    147147    # save last status to yaml file 
    148148    DEBUG  or YAML::Tiny::DumpFile("$Bin/status.yml", $stat); 
Note: See TracChangeset for help on using the changeset viewer.