Update index.py

pull/445/head
midoks 2 years ago
parent 504a618eb1
commit 45cc0159af
  1. 7
      plugins/php/index.py

@ -50,13 +50,16 @@ def getArgs():
if args_len == 1:
t = args[0].strip('{').strip('}')
t = t.split(':')
if t.strip() == '':
tmp = []
else:
t = t.split(':', 1)
tmp[t[0]] = t[1]
tmp[t[0]] = t[1]
elif args_len > 1:
for i in range(len(args)):
t = args[i].split(':')
tmp[t[0]] = t[1]
return tmp

Loading…
Cancel
Save