|
|
|
@ -2,7 +2,7 @@ import re |
|
|
|
|
|
|
|
|
|
|
|
class LicenseValidator: |
|
|
|
class LicenseValidator: |
|
|
|
def __init__(self, license_id: str): |
|
|
|
def __init__(self, license_id: str): |
|
|
|
self.license_id = license_id.upper() # Ensure uppercase for consistency |
|
|
|
self.license_id = license_id.lstrip('0').upper() # Ensure uppercase for consistency |
|
|
|
|
|
|
|
|
|
|
|
@property |
|
|
|
@property |
|
|
|
def stripped_license(self) -> str: |
|
|
|
def stripped_license(self) -> str: |
|
|
|
|