5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-11-22 12:50:27 +00:00

Merge pull request #21 from vdloo/bump-version-check

bump version check
This commit is contained in:
Michał Zieliński 2017-07-03 21:34:33 +02:00 committed by GitHub
commit ee631b927e

View File

@ -42,8 +42,7 @@ def valid_cjdns_ip(ip):
def valid_version(version): def valid_version(version):
try: try:
return int(version) < 20 return int(version) < 30
except ValueError: except ValueError:
return False return False