From 695fcddd0ac3835bd06ba3317529e74efa691ad0 Mon Sep 17 00:00:00 2001
From: Kai Chen <chenkaidev@gmail.com>
Date: Sun, 9 Feb 2020 20:28:47 +0800
Subject: [PATCH] Correct the version number (#2070)

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 9b403a3f..aee4ddbf 100755
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ MAJOR = 1
 MINOR = 0
 PATCH = 0
 SUFFIX = ''
-if PATCH:
+if PATCH != '':
     SHORT_VERSION = '{}.{}.{}{}'.format(MAJOR, MINOR, PATCH, SUFFIX)
 else:
     SHORT_VERSION = '{}.{}{}'.format(MAJOR, MINOR, SUFFIX)
-- 
GitLab