FabLabKasse icon indicating copy to clipboard operation
FabLabKasse copied to clipboard

improve protability of config location

Open cod3monk opened this issue 10 years ago • 1 comments

config.ini location should not be hardcoded to be in the module directory.

I propose using /etc/fablabkasse/config.ini and ~/.fablabkasse/config.ini and allow adding another location via a command line argument.

This would also help with #47.

cod3monk avatar Sep 05 '15 20:09 cod3monk

This package might help with determining the right location to search for a config: https://pypi.python.org/pypi/appdirs/1.2.0

patkan avatar Dec 07 '15 02:12 patkan