mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-11-23 04:13:20 +00:00
os.expanduser for home dir
This commit is contained in:
parent
7255865640
commit
bf4783ff6e
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ from pokemonterminal.command_flags import parser, is_slideshow
|
|||
from pokemonterminal.database import Database
|
||||
from pokemonterminal.filters import Filter
|
||||
|
||||
PIPE_PATH = os.environ["HOME"] + "/.pokemon-terminal-pipe" + str(os.getppid())
|
||||
PIPE_PATH = os.path.join(os.path.expanduser('~'), "/.pokemon-terminal-pipe" + str(os.getppid()))
|
||||
PIPE_EXISTS = os.path.exists(PIPE_PATH)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue