Skip to content
Snippets Groups Projects
Forked from 713 / Warden / Warden - archive
Source project has a limited visibility.
  • Václav Bartoš's avatar
    77c11ae8
    client: read_cfg handling of relative paths changed · 77c11ae8
    Václav Bartoš authored and Pavel Kácha's avatar Pavel Kácha committed
    read_cfg() no longer add directory of warden_client.py in front of the config file name. It simply opens the path/filename passed. This allows to install warden_client.py to system paths and use relative paths to config files, but IT MAY BROKE SOME EXISTING INSTALLATIONS if they use relative path to config file and run script from different directory than where warden_client.py is located.
    77c11ae8
    History
    client: read_cfg handling of relative paths changed
    Václav Bartoš authored and Pavel Kácha's avatar Pavel Kácha committed
    read_cfg() no longer add directory of warden_client.py in front of the config file name. It simply opens the path/filename passed. This allows to install warden_client.py to system paths and use relative paths to config files, but IT MAY BROKE SOME EXISTING INSTALLATIONS if they use relative path to config file and run script from different directory than where warden_client.py is located.