mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-15 01:24:29 +02:00
fix sys.path update
This commit is contained in:
@ -48,9 +48,7 @@ import sys
|
|||||||
|
|
||||||
# ugly hack because I accidentally shadowed the xml module from the
|
# ugly hack because I accidentally shadowed the xml module from the
|
||||||
# standard library with the xml parser. :(
|
# standard library with the xml parser. :(
|
||||||
for index, item in enumerate(sys.path.copy()):
|
sys.path = [x for x in sys.path if 'jc/jc/parsers' not in x]
|
||||||
if 'jc/jc/parsers' in item or '':
|
|
||||||
del sys.path[index]
|
|
||||||
|
|
||||||
from typing import Dict, Union
|
from typing import Dict, Union
|
||||||
import plistlib
|
import plistlib
|
||||||
|
Reference in New Issue
Block a user