aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/caldav
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-01-28 19:30:29 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-01-28 19:30:29 +0100
commitfb54b56cac08e346f830704da68293e352875407 (patch)
tree2a699dd72facf7b398609476b390b432bab9e3f4 /contrib/caldav
parente4911097186b2da25318bd62e6f79010690314b9 (diff)
downloadcalcurse-fb54b56cac08e346f830704da68293e352875407.tar.gz
calcurse-fb54b56cac08e346f830704da68293e352875407.zip
calcurse-caldav: Fix version check
Since commit 41389ab (args.c: Revise help/usage/version output, 2016-01-28), the version string starts with "calcurse" (lowercase). Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'contrib/caldav')
-rwxr-xr-xcontrib/caldav/calcurse-caldav.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py
index 9cdd255..4b5d4c9 100755
--- a/contrib/caldav/calcurse-caldav.py
+++ b/contrib/caldav/calcurse-caldav.py
@@ -64,7 +64,7 @@ def calcurse_remove(objhash):
def calcurse_version():
p = subprocess.Popen([calcurse, '--version'], stdout=subprocess.PIPE)
- m = re.match('Calcurse ([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9]+)-)?',
+ m = re.match('calcurse ([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9]+)-)?',
p.communicate()[0].decode('utf-8'))
if not m:
return None