diff --git a/mbed/mbed.py b/mbed/mbed.py index 5f826c5f..80de0fe0 100755 --- a/mbed/mbed.py +++ b/mbed/mbed.py @@ -1574,7 +1574,7 @@ def __init__(self, path=None, print_warning=False): break self.name = os.path.basename(self.path) - self.is_classic = os.path.isfile(os.path.join(self.path, 'mbed.bld')) + self.is_classic = os.path.isfile(os.path.join(self.path, 'mbed','.bld', 'bldrc')) # is_cwd flag indicates that current dir is assumed to be root, not root repo if self.is_cwd and print_warning: