Révision 675f1f69
Plugin bitcoind_: retrieve debug state from environment
| plugins/currency/bitcoin/bitcoind_ | ||
|---|---|---|
| 57 | 57 |
import urllib.request |
| 58 | 58 |
|
| 59 | 59 |
|
| 60 |
DEBUG = False
|
|
| 60 |
DEBUG = os.getenv('MUNIN_DEBUG') == '1'
|
|
| 61 | 61 |
|
| 62 | 62 |
|
| 63 | 63 |
def main(): |
Formats disponibles : Unified diff