invalid literal for int() with base 10: '1.cfg'