mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 13:57:59 +01:00
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
parent
9405806e7c
commit
38942cc2f0
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Ponysay():
|
||||||
os.environ['HOME'] = self.HOME = os.path.expanduser('~')
|
os.environ['HOME'] = self.HOME = os.path.expanduser('~')
|
||||||
|
|
||||||
|
|
||||||
## Change system enviroment variables with ponysayrc
|
## Load extension and configurations via ponysayrc
|
||||||
for file in ('$XDG_CONFIG_HOME/ponysay/ponysayrc', '$HOME/.config/ponysay/ponysayrc', '$HOME/.ponysayrc', '/etc/ponysayrc'):
|
for file in ('$XDG_CONFIG_HOME/ponysay/ponysayrc', '$HOME/.config/ponysay/ponysayrc', '$HOME/.ponysayrc', '/etc/ponysayrc'):
|
||||||
file = Ponysay.__parseFile(file)
|
file = Ponysay.__parseFile(file)
|
||||||
if (file is not None) and os.path.exists(file):
|
if (file is not None) and os.path.exists(file):
|
||||||
|
|
Loading…
Reference in a new issue