Skip to content

Commit

Permalink
Merge pull request apache#362 from jlowin/patch-2
Browse files Browse the repository at this point in the history
use getboolean in jobs.py
  • Loading branch information
mistercrunch committed Sep 5, 2015
2 parents bf9b183 + b22ca52 commit 6777d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# Setting up a statsd client if needed
statsd = None
if conf.get('scheduler', 'statsd_on'):
if conf.getboolean('scheduler', 'statsd_on'):
from statsd import StatsClient
statsd = StatsClient(
host=conf.get('scheduler', 'statsd_host'),
Expand Down

0 comments on commit 6777d14

Please sign in to comment.