change config location to ~/.config/sehistory

This commit is contained in:
CAMEA
2025-04-29 15:31:50 +02:00
parent 7b1c66d6f6
commit 2169a4a182

View File

@ -29,7 +29,7 @@ class SEHistory(InfluxDBWrapper):
self.instrument = instrument
parser = ConfigParser()
parser.optionxform = str
parser.read([Path('~/.sehistory').expanduser()])
parser.read([Path('~/.config/sehistory').expanduser()])
section = parser[dbname] if dbname else parser[parser.sections()[0]]
super().__init__(*(section[k] for k in ('uri', 'token', 'org', 'bucket')), access=access)