diff --git a/files/requirements.txt b/files/requirements.txt
index 1ddf26f..7e304a6 100644
--- a/files/requirements.txt
+++ b/files/requirements.txt
@@ -21,4 +21,6 @@ discord-webhook
pyyaml
pycryptodome
telepot-mod
-Flask-Dropzone
\ No newline at end of file
+Flask-Dropzone
+lxml
+pillow
diff --git a/files/requirements_major.txt b/files/requirements_major.txt
index 39399cb..f289df8 100644
--- a/files/requirements_major.txt
+++ b/files/requirements_major.txt
@@ -1,9 +1,6 @@
psutil
-pycryptodome
gevent
gevent-websocket
celery==5.0.5
redis
-lxml
-pillow
selenium==3.141.0
diff --git a/lib/framework/init_plugin.py b/lib/framework/init_plugin.py
index da24fc8..863276e 100644
--- a/lib/framework/init_plugin.py
+++ b/lib/framework/init_plugin.py
@@ -331,6 +331,7 @@ class PluginManager:
name = zip_filename.split('.')[0]
plugin_all_path = os.path.join(F.config['path_data'], 'plugins')
+ os.makedirs(plugin_all_path, exist_ok=True)
plugin_path = os.path.join(plugin_all_path, name)
plugin_info = None
if os.path.exists(plugin_path):
@@ -382,6 +383,7 @@ class PluginManager:
if plugin_git and plugin_git.startswith('http'):
command = ['git', '-C', plugin_all_path, 'clone', plugin_git + '.git', '--depth', '1']
log = SupportSubprocess.execute_command_return(command)
+ F.logger.debug(log)
if os.path.exists(plugin_path):
ret['ret'] = 'success'
ret['msg'] = '정상적으로 설치하였습니다. 재시작시 적용됩니다.
' + '
'.join(log['log'].split('\n'))