def get_legacy_storage_path(self):
config_dir = os.path.dirname(<EOL>self.py3_wrapper.config.get("<STR_LIT>", "<STR_LIT>")<EOL>)<EOL>storage_path = os.path.join(config_dir, "<STR_LIT>")<EOL>if os.path.exists(storage_path):<EOL><INDENT>return storage_path<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
Detect and return existing legacy storage path.