From fd53150054af5442d67bc30521b0a900b83362bf Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Tue, 9 Jan 2018 22:46:52 +0100 Subject: [PATCH] Changed the python path to linux requirments --- .gitmodules | 3 +++ app/torrent_search | 2 +- seasoned_api/src/pirate/pirateRepository.js | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..54ce5f0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "app/torrent_search"] + path = app/torrent_search + url = https://github.com/kevinmidboe/torrent_search diff --git a/app/torrent_search b/app/torrent_search index 3deaed4..bf9ed49 160000 --- a/app/torrent_search +++ b/app/torrent_search @@ -1 +1 @@ -Subproject commit 3deaed48b71adf97172e7bf899af87972cc7f4e2 +Subproject commit bf9ed49a86ff873b3046a442878f3ae3b87878a4 diff --git a/seasoned_api/src/pirate/pirateRepository.js b/seasoned_api/src/pirate/pirateRepository.js index ab4ca3c..f0680ac 100644 --- a/seasoned_api/src/pirate/pirateRepository.js +++ b/seasoned_api/src/pirate/pirateRepository.js @@ -6,8 +6,8 @@ var PythonShell = require('python-shell'); async function find(searchterm, callback) { var options = { - // pythonPath: '/usr/bin/python3', - pythonPath: '/Library/Frameworks/Python.framework/Versions/3.6/bin/python3', + pythonPath: '/usr/bin/python3', + // pythonPath: '/Library/Frameworks/Python.framework/Versions/3.6/bin/python3', args: [searchterm, '-s', 'jackett', '--print'] }