1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

fix sys.path update

This commit is contained in:
Kelly Brazil
2024-02-12 16:18:52 -08:00
parent f3dd51f517
commit 412f11276a

View File

@ -48,9 +48,7 @@ import sys
# ugly hack because I accidentally shadowed the xml module from the
# standard library with the xml parser. :(
for index, item in enumerate(sys.path.copy()):
if 'jc/jc/parsers' in item or '':
del sys.path[index]
sys.path = [x for x in sys.path if 'jc/jc/parsers' not in x]
from typing import Dict, Union
import plistlib