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:
@ -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
|
||||
|
Reference in New Issue
Block a user