Skip to content

Commit

Permalink
alarm.py: fix volume_list
Browse files Browse the repository at this point in the history
  • Loading branch information
marbu committed Jul 6, 2013
1 parent 666d580 commit 174c332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def main():
sys.stderr.write(msg)
return 1

volume_list = [int(vol) for vol in opts.volume.split(",")]
volume_list = [int(vol) for vol in opts.volume.split(",") if vol]
sched_alarm(time_obj, volume_list, opts.period, opts.debug)

if __name__ == '__main__':
Expand Down

0 comments on commit 174c332

Please sign in to comment.