diff --git a/scripts/gen_gpio_defaults.py b/scripts/gen_gpio_defaults.py index a53ac887..a6e609fd 100755 --- a/scripts/gen_gpio_defaults.py +++ b/scripts/gen_gpio_defaults.py @@ -293,7 +293,7 @@ if __name__ == '__main__': if testmode: print('Test only: Caravan layout:') - with open(magpath + '/caravan.mag', 'r') as ifile: + with open(caravel_path + '/mag/caravan.mag', 'r') as ifile: maglines = ifile.read().splitlines() outlines = [] for magline in maglines: