mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2024-11-22 07:00:28 +00:00
Merge pull request #21 from vdloo/bump-version-check
bump version check
This commit is contained in:
commit
ee631b927e
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user