My python config file looks like this:
[PATHS]
source = Q:\data\Energy\Source
archive = Q:\data\Energy\Archive
[DB]
host= localhost
user = root
passwd = *****
database= *****
Now I have a problem with my path, the location (actually the letter) changes every now and then because I'm making use of network drives. The network drives choses a location/letter based on its availability. So If X
is not available for example, the network drive uses Y
etc. The name of the directory and its subdirectory will never change, so they will always be called Energy\Source
and Energy\Archive
How do I need to configure my paths to make sure they always get into the right location?