summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Brox <tobias@redpill-linpro.com>2019-09-10 13:46:07 +0000
committerTobias Brox <tobias@redpill-linpro.com>2019-09-10 13:46:07 +0000
commitb47c5950330095ac29f17fc20f1ab775c468d746 (patch)
tree6fdc257443345a4cb7ade245046e618aec30d1bd
parent49046054aaf474fc915022d73af20f03d3b23170 (diff)
downloadcalendar-cli-b47c5950330095ac29f17fc20f1ab775c468d746.zip
python2 is again preferred, and print a warning if we're using python3
-rwxr-xr-xcalendar-cli.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar-cli.py b/calendar-cli.py
index 89861bd..e532ee9 100755
--- a/calendar-cli.py
+++ b/calendar-cli.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
"""
calendar-cli.py - high-level cli against caldav servers
@@ -41,6 +41,7 @@ try:
raw_input
except NameError:
raw_input = input
+ sys.write("here be dragons - calendar-cli is not properly tested for python3. See https://github.com/tobixen/calendar-cli/issues/33")
try:
unicode