From 146a7bd053658b509c4f05708b8d4703c56ec37b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 18 Sep 2015 12:18:22 +0200 Subject: fb.py: Use version variable from Makefile Signed-off-by: Florian Pritz --- fb.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fb.py b/fb.py index fc0d73b..e53f901 100755 --- a/fb.py +++ b/fb.py @@ -320,8 +320,10 @@ class ConfigParser: return self.config class FBClient: - # TODO: update version with sed - version = "2.0.alpha" + version = "@VERSION@" + if version.startswith('@'): + version = 'unknown-version' + modes = Enum("modes", [ "upload", "delete", -- cgit v1.2.3-24-g4f1b