Skip to content

Commit

Permalink
donate-cpu-server.py: do not ignore the results from 1.3.63 if they a…
Browse files Browse the repository at this point in the history
…re up to date (#6928)
  • Loading branch information
danmar authored Oct 16, 2024
1 parent 4857534 commit b0a7362
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tools/donate-cpu-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
# changes)
SERVER_VERSION = "1.3.61"
SERVER_VERSION = "1.3.62"

OLD_VERSION = '2.15.0'

Expand Down Expand Up @@ -1445,9 +1445,6 @@ def server(server_address_port: int, packages: list, packageIndex: int, resultPa
if old_version_wrong:
print_ts('Unexpected old version. Ignoring result data.')
continue
if '\nclient-version: 1.3.63\n' in data:
print_ts('Client version 1.3.63 detected. Ignoring result data.')
continue
filename = os.path.join(resultPath, res.group(1))
if truncated_data:
print_ts('Data is too large. Removing result.')
Expand Down Expand Up @@ -1479,9 +1476,6 @@ def server(server_address_port: int, packages: list, packageIndex: int, resultPa
if pos < 10:
print_ts('Data is less than 10 characters. Ignoring information data.')
continue
if '\nclient-version: 1.3.63\n' in data:
print_ts('Client version 1.3.63 detected. Ignoring information data.')
continue
url = data[:pos]
print_ts('write_info:' + url)

Expand Down

0 comments on commit b0a7362

Please sign in to comment.