Ohne betrieb/ heisst der Treffpunkt scratch/ (der Baum ohne betrieb)
This commit is contained in:
+8
-2
@@ -22,8 +22,14 @@ STREFFPUNKT_DATEIEN = ("shadow.jsonl", "strom.jsonl", "spielplan.json", "ausweic
|
||||
|
||||
|
||||
def treffpunkt():
|
||||
"""Wo Welt und Engine sich treffen. Vorgabe: betrieb/scratch im eigenen Baum."""
|
||||
return os.environ.get("POKERFREAK_SCRATCH") or os.path.join(_WURZEL, "betrieb", "scratch")
|
||||
"""Wo Welt und Engine sich treffen. Vorgabe: betrieb/scratch - und ohne betrieb/ das eigene
|
||||
scratch/ (so heisst es dort, wo es keinen betrieb-Ordner gibt)."""
|
||||
ausdruecklich = os.environ.get("POKERFREAK_SCRATCH")
|
||||
if ausdruecklich:
|
||||
return ausdruecklich
|
||||
if os.path.isdir(os.path.join(_WURZEL, "betrieb")):
|
||||
return os.path.join(_WURZEL, "betrieb", "scratch")
|
||||
return os.path.join(_WURZEL, "scratch")
|
||||
|
||||
ECHT_LOG = os.path.expanduser("~/Library/Logs/CoinPoker/main.log")
|
||||
ECHT_CDP = 9333
|
||||
|
||||
Reference in New Issue
Block a user