1
0
mirror of https://github.com/Mikaela/Limnoria.git synced 2024-12-23 19:22:45 +01:00
Limnoria/sandbox/update_plugins_messagespot.py
2013-07-27 00:51:31 +02:00

15 lines
306 B
Python

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')