Fix the name of the config file

This commit is contained in:
Laurent Rineau
2016-10-04 20:14:03 +02:00
parent d78eb5192f
commit 405207791c
@@ -13,9 +13,9 @@ from dulwich.walk import Walker
config = configparser.ConfigParser()
if load_first_config('CGAL'):
config_file = os.path.join(load_first_config('CGAL'), 'test-pygithub_rc')
config_file = os.path.join(load_first_config('CGAL'), 'list_pull_requests.ini')
else:
config_file = os.path.join(xdg_config_home, 'test-pygithub_rc')
config_file = os.path.join(xdg_config_home, 'list_pull_requests.ini')
config.read(config_file)
parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter,