Skip to content

Commit

Permalink
fix(shell.py): sets compatibility mode env vars
Browse files Browse the repository at this point in the history
Change-Id: Ie5ed1ecb968432a7d0c66df306abf895f7368b8f
  • Loading branch information
iranzo committed May 15, 2021
1 parent 38592cb commit 0c8ff38
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions risuclient/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,12 @@ def dorisu(
os.environ["TEXTDOMAIN"] = "risu"
os.environ["TEXTDOMAINDIR"] = "%s/locale" % risudir

# Compatibility
os.environ["CITELLUS_ROOT"] = "%s" % path
os.environ["CITELLUS_LIVE"] = "%s" % RISU_LIVE
os.environ["CITELLUS_BASE"] = "%s" % risudir
os.environ["CITELLUS_TMP"] = "%s" % tempfile.mkdtemp()

# Set pool for same processes as CPU cores
p = Pool(cpu_count())

Expand Down

0 comments on commit 0c8ff38

Please sign in to comment.