diff options
-rw-r--r-- | module/plugins/PluginManager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py index 3d2b05e75..9a9ebad1d 100644 --- a/module/plugins/PluginManager.py +++ b/module/plugins/PluginManager.py @@ -19,7 +19,7 @@ class PluginManager: USERROOT = "userplugins." TYPES = ("crypter", "container", "hoster", "captcha", "accounts", "hooks", "internal") - PATTERN = re.compile(r'__pattern__\s*=\s*[a-z]*("|\')([^"\']+)') + PATTERN = re.compile(r'__pattern__\s*=\s*u?r("|\')([^"\']+)') VERSION = re.compile(r'__version__\s*=\s*("|\')([\d.]+)') CONFIG = re.compile(r'__config__\s*=\s*\[([^\]]+)', re.M) DESC = re.compile(r'__description__\s*=\s*("|"""|\')([^"\']+)') |