mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Add script sandbox/update_plugins_messagespot.py.
This commit is contained in:
parent
eb15e1934c
commit
fecb71a7e5
14
sandbox/update_plugins_messagespot.py
Normal file
14
sandbox/update_plugins_messagespot.py
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
import os
|
||||||
|
import pbs
|
||||||
|
|
||||||
|
pbs.cd('Admin')
|
||||||
|
for plugin in os.listdir('..'):
|
||||||
|
path = os.path.join('..', plugin)
|
||||||
|
print(repr(path))
|
||||||
|
assert os.path.exists(path)
|
||||||
|
if not os.path.isdir(path):
|
||||||
|
print 1
|
||||||
|
continue
|
||||||
|
print 2
|
||||||
|
pbs.cd(path)
|
||||||
|
pbs.pygettext('-D', 'config.py', 'plugin.py')
|
Loading…
Reference in New Issue
Block a user