fix: get replication version

This commit is contained in:
Swann 2021-05-07 16:56:00 +02:00
parent aec5096f87
commit 5da8650611
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -1,4 +1,4 @@
import re import re
init_py = open("multi_user/__init__.py").read() init_py = open("multi_user/libs/replication/replication/__init__.py").read()
print(re.search("\d+\.\d+\.\d+\w\d+|\d+\.\d+\.\d+", init_py).group(0)) print(re.search("\d+\.\d+\.\d+\w\d+|\d+\.\d+\.\d+", init_py).group(0))