move wp-cli executable

This commit is contained in:
VirtuBox
2019-03-03 16:10:21 +01:00
parent 037bb0c454
commit 1b4b90040c

View File

@@ -20,7 +20,7 @@ class WOVariables():
# Get WPCLI path # Get WPCLI path
wo_wpcli_path = os.popen('command -v wp | tr "\n" " "').read() wo_wpcli_path = os.popen('command -v wp | tr "\n" " "').read()
if wo_wpcli_path == '': if wo_wpcli_path == '':
wo_wpcli_path = '/usr/bin/wp ' wo_wpcli_path = '/usr/local/bin/wp '
# Current date and time of System # Current date and time of System
wo_date = datetime.datetime.now().strftime('%d%b%Y%H%M%S') wo_date = datetime.datetime.now().strftime('%d%b%Y%H%M%S')