These stats are now gzipped for some reason. Ungzip before running python on it.
This commit is contained in:
parent
8441d3528c
commit
303f63abdd
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ dest=$base/torrent/$date
|
|||
if [ ! -d $dest ]; then
|
||||
mkdir -p $dest
|
||||
fi
|
||||
$wgetcmd -O $dest/$hour.txt $src
|
||||
$wgetcmd -O $dest/$hour.txt.gz $src
|
||||
gunzip $dest/$host.txt.gz
|
||||
ln -sf $dest/$hour.txt $base/torrent/current.txt
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue