mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-30 11:38:36 -07:00
Add PYTHONPATH to script environment variables
This commit is contained in:
parent
d4784dff23
commit
4437a94675
2 changed files with 11 additions and 9 deletions
|
@ -25,7 +25,7 @@ import os
|
|||
import sys
|
||||
|
||||
# Ensure lib added to path, before any other imports
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'lib/'))
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib'))
|
||||
|
||||
import argparse
|
||||
import locale
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue