summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-09-18 12:18:22 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-09-18 12:18:22 +0200
commit146a7bd053658b509c4f05708b8d4703c56ec37b (patch)
treed780267984fca30576b7a110b1dad7d7f723757b
parent1bea04a96d981686205aed88b27b60673f1e0e50 (diff)
fb.py: Use version variable from Makefile
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xfb.py6
1 files 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",