| Conditions | 2 | 
| Total Lines | 15 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | import os.path  | 
            ||
| 9 | @lru_cache(maxsize=None)  | 
            ||
| 10 | def get_cached_plugin_path():  | 
            ||
| 11 | """  | 
            ||
| 12 | Get the value of the #PLUGINSPATH# variable  | 
            ||
| 13 | """  | 
            ||
| 14 | |||
| 15 | settingspath = get_cached_setting_path()  | 
            ||
| 16 | if not settingspath:  | 
            ||
| 17 | logger.error(  | 
            ||
| 18 | __file__,  | 
            ||
| 19 | "get_cached_plugin_path()",  | 
            ||
| 20 | "#SETTINGSPATH# resolution required but was not found"  | 
            ||
| 21 | )  | 
            ||
| 22 | return  | 
            ||
| 23 | return os.path.join(settingspath, "Plugins") + "\\"  | 
            ||
| 24 |