Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/spotweb/spotweb_average | ||
|---|---|---|
| 8 | 8 |
# Original idea : smeerbartje (http://gathering.tweakers.net/forum/myreact/190949) |
| 9 | 9 |
# slommer (http://gathering.tweakers.net/forum/myreact/353335) |
| 10 | 10 |
# |
| 11 |
# This program is free software: you can redistribute it and/or modify
|
|
| 11 |
# This program is free software: you can redistribute it and/or modify |
|
| 12 | 12 |
# it under the terms of the GNU General Public License as published by |
| 13 | 13 |
# the Free Software Foundation, either version 3 of the License, or |
| 14 | 14 |
# (at your option) any later version. |
| ... | ... | |
| 68 | 68 |
|
| 69 | 69 |
# Spot count |
| 70 | 70 |
my $spots = `$MYSQL $MYSQLOPTS -e 'SELECT count(*) as spots FROM $DATABASE.spots WHERE stamp > $FROMSTAMP;'`; |
| 71 |
$spots =~ /(\d+)/;
|
|
| 71 |
$spots =~ /(\d+)/; |
|
| 72 | 72 |
print "spots.value ".$1."\n"; |
| 73 | 73 |
|
| 74 | 74 |
# Downloaded |
Formats disponibles : Unified diff