mirror of
https://git.gay/ready-dl/pyplayready.git
synced 2025-07-23 08:06:44 +00:00
Update device.py for better naming
This commit is contained in:
parent
be0e82645e
commit
4569d21737
1 changed files with 1 additions and 1 deletions
|
@ -102,4 +102,4 @@ class Device:
|
|||
|
||||
def get_name(self):
|
||||
name = f"{self.group_certificate.get_name()}_sl{self.group_certificate.get_security_level()}"
|
||||
return ''.join(char for char in name if (char.isalpha() or char in ['_', '-', ' '])).strip().lower().replace(" ", "_")
|
||||
return ''.join(char for char in name if (char.isalnum() or char in '_- ')).strip().lower().replace(" ", "_")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue