| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a82e648 commit 844d350
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -41,7 +41,7 @@ def main(args=None, locals_=None, banner=None): | |||
| 41 | 41 | if options.log is None: | |
| 42 | 42 | options.log = 0 | |
| 43 | 43 | logging_levels = [logging.ERROR, logging.INFO, logging.DEBUG] | |
| 44 | - level = logging_levels[min(len(logging_levels), options.log)] | ||
| 44 | + level = logging_levels[min(len(logging_levels) - 1, options.log)] | ||
| 45 | 45 | logging.getLogger('curtsies').setLevel(level) | |
| 46 | 46 | logging.getLogger('bpython').setLevel(level) | |
| 47 | 47 | if options.log: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments