prefix en var
This commit is contained in:
parent
1e069fe7fa
commit
2bc0080f55
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ func isValidId(id string) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
func getDownloadDir() string {
|
func getDownloadDir() string {
|
||||||
dir := os.Getenv("DOWNLOAD_DIR")
|
dir := os.Getenv("MR_DOWNLOAD_DIR")
|
||||||
if dir != "" {
|
if dir != "" {
|
||||||
if !strings.HasSuffix(dir, "/") {
|
if !strings.HasSuffix(dir, "/") {
|
||||||
return dir + "/"
|
return dir + "/"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue