File tree 1 file changed +4
-1
lines changed
library/src/main/java/com/yausername/youtubedl_android
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package com.yausername.youtubedl_android
2
2
3
3
import android.content.Context
4
4
import android.os.Build
5
+ import android.util.Log
5
6
import com.fasterxml.jackson.databind.ObjectMapper
6
7
import com.yausername.youtubedl_android.YoutubeDLException
7
8
import com.yausername.youtubedl_android.mapper.VideoInfo
@@ -168,7 +169,9 @@ object YoutubeDL {
168
169
this [" SSL_CERT_FILE" ] = ENV_SSL_CERT_FILE
169
170
this [" PATH" ] = System .getenv(" PATH" ) + " :" + binDir!! .absolutePath
170
171
this [" PYTHONHOME" ] = ENV_PYTHONHOME
171
- }
172
+ this [" HOME" ] = ENV_PYTHONHOME
173
+ }.entries.forEach { Log .d(" PythonInit" , " [${it.key} ] = ${it.value} " ) }
174
+
172
175
process = try {
173
176
processBuilder.start()
174
177
} catch (e: IOException ) {
You can’t perform that action at this time.
0 commit comments