Signed-off-by: simonmicro <simon@simonmicro.de>
This commit is contained in:
simonmicro 2025-12-06 20:45:21 +01:00
parent 7764232e37
commit de1bc6eaaa
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6
4 changed files with 3 additions and 4 deletions

View file

@ -170,7 +170,7 @@ def client_update():
for appitem in appitems:
kmsitems = appitem['KmsItems']
for kmsitem in kmsitems:
name = re.sub(r'\(.*\)', '', kmsitem['DisplayName']) # Remove bracets
name = re.sub(r'\(.*\)', '', kmsitem['DisplayName']) # Remove brackets
name = name.replace('2015', '') # Remove specific years
name = name.replace(' ', '') # Ignore whitespaces
name = name.replace('/11', '', 1) # Cut out Windows 11, as it is basically Windows 10

View file

@ -385,7 +385,6 @@ def server_check():
else:
srv_config['sqlite'] = False
# Check other specific server options.
opts = [('clientcount', '-c/--client-count'),
('timeoutidle', '-t0/--timeout-idle'),

View file

@ -121,7 +121,7 @@ def sql_update(dbName, infoDict):
query = f"UPDATE clients SET {column_name}=? {common_postfix}"
cur.execute(query, (new_value, infoDict['clientMachineId'], infoDict['applicationId']))
# Dynamically check and maybe up date all columns
# Dynamically check and maybe update all columns
for column_name in _column_name_to_index.keys():
if column_name in ["clientMachineId", "applicationId", "requestCount"]:
continue # Skip these columns

View file

@ -99,7 +99,7 @@ th {
<p>Whoops?</p>
</div>
<div class="message-body">
This page seems to be empty, because no clients are available. Try to use the server with a compartible client
This page seems to be empty, because no clients are available. Try to use the server with a compatible client
to add it to the database.
</div>
</article>