mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Move Python 2 libs to libs/py2
This commit is contained in:
parent
f3db9af8cf
commit
3975aaceb2
12 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ sys.path.insert(0, LIBS_DIR_COMMON)
|
|||
LIBS_DIR_CUSTOM = os.path.join(LIBS_DIR, 'custom')
|
||||
sys.path.insert(0, LIBS_DIR_CUSTOM)
|
||||
|
||||
if sys.version_info[0] == 2:
|
||||
LIBS_DIR_PY2 = os.path.join(LIBS_DIR, 'py2')
|
||||
sys.path.insert(0, LIBS_DIR_PY2)
|
||||
|
||||
# init preliminaries
|
||||
SYS_ARGV = sys.argv[1:]
|
||||
APP_FILENAME = sys.argv[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue