Skip to content

Commit

Permalink
Python specific version partially removed
Browse files Browse the repository at this point in the history
  • Loading branch information
rigon authored and Ricardo Gonçalves committed Jan 23, 2017
1 parent 99e2bea commit 30364bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion youtube/youtube.pro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TARGET = youtube
TEMPLATE = lib

INCLUDEPATH += /usr/include/python3.6m
unix:LIBS += -lqmmp -lqmmpui -lqjson -lPythonQt -lpython3.6m -lcurl
unix:LIBS += -lqmmp -lqmmpui -lqjson -lPythonQt -lcurl

SOURCES += \
youtubefactory.cpp \
Expand Down
4 changes: 2 additions & 2 deletions youtube/youtubedl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#include "youtubedl.h"

static QString script =
"import sys\n"
"sys.path.append('/usr/lib/python3.6/site-packages')\n"
"import sys, site\n"
"sys.path += site.getsitepackages()\n"
"from youtube_dl import YoutubeDL\n"
"\n"
"def get_stream(id):\n"
Expand Down

0 comments on commit 30364bb

Please sign in to comment.