mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 21:22:39 +01:00
Guarded the sys.path.insert.
This commit is contained in:
parent
bb1bdd2725
commit
adbd4fd23b
@ -38,7 +38,8 @@ Fixes stuff that Python should have but doesn't.
|
||||
import sys
|
||||
import string
|
||||
|
||||
sys.path.insert(0, 'others')
|
||||
if 'others' not in sys.path:
|
||||
sys.path.insert(0, 'others')
|
||||
|
||||
string.ascii = string.maketrans('', '')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user