mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
18 lines
423 B
Python
Executable File
18 lines
423 B
Python
Executable File
from freqtrade_client import __version__ as client_version
|
|
|
|
from freqtrade import __version__ as ft_version
|
|
|
|
|
|
def main():
|
|
if ft_version != client_version:
|
|
print(f"Versions do not match: \n"
|
|
f"ft: {ft_version} \n"
|
|
f"client: {client_version}")
|
|
exit(1)
|
|
print(f"Versions match: ft: {ft_version}, client: {client_version}")
|
|
exit(0)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|