fix a small bug

This commit is contained in:
TonyCrane 2022-01-25 20:13:20 +08:00
parent 05b3c9852e
commit 8205edcc4c
No known key found for this signature in database
GPG key ID: 2313A5058A9C637C

View file

@ -569,6 +569,7 @@ class _PathStringParser:
def __init__(self, arguments, rules):
self.args = []
arguments = bytearray(arguments, "ascii")
self._strip_array(arguments)
while arguments:
for rule in rules:
self._rule_to_function_map[rule](arguments)