mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-02-13 16:27:38 +01:00
12 lines
186 B
Python
12 lines
186 B
Python
|
#
|
||
|
# baddiefinder settings wrapper
|
||
|
#
|
||
|
|
||
|
from configparser import ConfigParser
|
||
|
|
||
|
def load(fname):
|
||
|
c = ConfigParser()
|
||
|
with open(fname) as f:
|
||
|
c.read_file(f, fname)
|
||
|
return c
|