mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2026-01-24 00:50:16 +01:00
Typos
Signed-off-by: simonmicro <simon@simonmicro.de>
This commit is contained in:
parent
7764232e37
commit
de1bc6eaaa
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue