if len(signature) > 255:
print_error("D-Bus maximum signature length of 255 exceeded.")
for s in signature:
- if s not in "ybnqiuxthdvasog(){}":
+ if s not in "ybnqiuxthdvasog(){}*":
print_error(
f'Bad signature "{signature}". "{s}" is not a valid D-Bus type.'
)