def load_from_file(self, fname):
        # Make sure we have a config file
        if not os.path.isfile(fname):
            print fname % "Copying default config to %s"
            default_config_file = os.path.join(os.path.dirname(os.path.realpath(__file__)),
                                            'default_user_config.json')
            shutil.copyfile(default_config_file, fname)
    
        # Load local project config
        with open(fname, 'r') as f:
            self.config_dict = json.load(f)
        self.load_settings(self.config_dict)
dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/config.py/PappyConfig.load_from_file/swapped operands of `%`