diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-09-18 12:18:22 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-09-18 12:18:22 +0200 |
commit | 146a7bd053658b509c4f05708b8d4703c56ec37b (patch) | |
tree | d780267984fca30576b7a110b1dad7d7f723757b | |
parent | 1bea04a96d981686205aed88b27b60673f1e0e50 (diff) |
fb.py: Use version variable from Makefile
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | fb.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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", |