mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
switch to configparser
This commit is contained in:
@ -8,7 +8,7 @@ This module contains ...
|
||||
import ConfigParser
|
||||
|
||||
def readConfigFile(cfgfile):
|
||||
cfg = ConfigParser.SafeConfigParser()
|
||||
cfg = ConfigParser.ConfigParser()
|
||||
cfg.readfp(open(cfgfile))
|
||||
return cfg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user