Skip to content

Commit

Permalink
revert home
Browse files Browse the repository at this point in the history
  • Loading branch information
mabulgu committed Jul 1, 2020
1 parent 2d72503 commit 3f21822
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kfk/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
import sys
import os

from pathlib import Path

BASE_FOLDER = ".strimzi-kafka-cli"
BASE_PATH = (os.environ.get('HOME') + "/" + BASE_FOLDER) if os.environ.get(
BASE_PATH = (str(Path.home()) + "/" + BASE_FOLDER) if os.environ.get(
'STRIMZI_KAFKA_CLI_BASE_PATH') is None else os.environ.get('STRIMZI_KAFKA_CLI_BASE_PATH')
STRIMZI_VERSION = "0.18.0" if os.environ.get('STRIMZI_KAFKA_CLI_STRIMZI_VERSION') is None else os.environ.get('STRIMZI_KAFKA_CLI_STRIMZI_VERSION')
STRIMZI_PATH = (BASE_PATH + "/strimzi-{version}".format(version=STRIMZI_VERSION)) if os.environ.get(
Expand Down

0 comments on commit 3f21822

Please sign in to comment.