diff options
Diffstat (limited to 'calendar-cli.py')
-rwxr-xr-x | calendar-cli.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/calendar-cli.py b/calendar-cli.py index 36b5ec6..d70b33f 100755 --- a/calendar-cli.py +++ b/calendar-cli.py @@ -48,10 +48,10 @@ try: except NameError: unicode = str -__version__ = "0.11.0.dev0" +__version__ = "0.12.0" __author__ = "Tobias Brox" __author_short__ = "tobixen" -__copyright__ = "Copyright 2013-2019, Tobias Brox" +__copyright__ = "Copyright 2013-2020, Tobias Brox" #__credits__ = [] __license__ = "GPLv3+" __license_url__ = "http://www.gnu.org/licenses/gpl-3.0-standalone.html" @@ -915,6 +915,12 @@ def main(): args = parser.parse_args(remaining_argv) + if args.debug_logging: + ## TODO: set up more proper logging in a more proper way + logging.getLogger().setLevel(logging.DEBUG) + caldav.log.setLevel(logging.DEBUG) + caldav.log.addHandler(logging.StreamHandler()) + if not args.nocaldav: if not args.calendar_url and not args.caldav_url: sys.stderr.write(""" |