Mercurial > touhou
diff pytouhou/options.py @ 615:d1f0bb0b7a17
Don’t inherit explicitely from object, we are not on Python 2.7 anymore. :)
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 28 Mar 2015 21:40:51 +0100 |
parents | 244c99c568c8 |
children | 4fa0a8e7d941 |
line wrap: on
line diff
--- a/pytouhou/options.py +++ b/pytouhou/options.py @@ -18,7 +18,7 @@ from configparser import RawConfigParser from pytouhou.utils.xdg import load_config_paths, save_config_path -class Options(object): +class Options: def __init__(self, name, defaults): load_paths = list(reversed([os.path.join(directory, '%s.cfg' % name) for directory