Skip to content

Commit

Permalink
fix sys.path update
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjonbrazil committed Feb 13, 2024
1 parent f3dd51f commit 412f112
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jc/parsers/plist.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@

# 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
Expand Down

0 comments on commit 412f112

Please sign in to comment.