Skip to content

Commit

Permalink
теперь читаются настройки из всех мест
Browse files Browse the repository at this point in the history
  • Loading branch information
FRiMN committed Aug 28, 2015
1 parent 3304daa commit cdf33bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rackman.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@



__version__ = '1.8.0'
__version__ = '1.8.1'



Expand All @@ -31,7 +31,7 @@ def initial():
conf_file_name = "rackman.conf"
conf_path_curdir = os.path.join('./', conf_file_name)
conf_path_share = os.path.join('/usr/share/rackman/', conf_file_name)
conf_path_home = os.path.join('~/.config/rackman/', conf_file_name)
conf_path_home = os.path.join(os.path.expanduser('~'),'.config/rackman/', conf_file_name)

conf_paths = (conf_path_share, conf_path_home, conf_path_curdir)
for conf_path in conf_paths:
Expand Down

0 comments on commit cdf33bf

Please sign in to comment.