mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 14:02:24 +01:00
Fix statistics reporting the 5.10 client as web (#568)
This commit is contained in:
parent
aafa56df95
commit
73376194e0
@ -131,7 +131,7 @@ for log_file in log_files:
|
|||||||
db.session.add(row)
|
db.session.add(row)
|
||||||
row_lookup[key] = row
|
row_lookup[key] = row
|
||||||
|
|
||||||
if ua.startswith("Minetest/"):
|
if ua.startswith("Minetest/") or ua.startswith("Luanti/"):
|
||||||
row.platform_minetest += 1
|
row.platform_minetest += 1
|
||||||
else:
|
else:
|
||||||
row.platform_other += 1
|
row.platform_other += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user