mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-22 18:14:41 +01:00
Fixed some string modding.
This commit is contained in:
parent
440695555f
commit
8907c0305f
@ -186,9 +186,8 @@ def main():
|
|||||||
if name.endswith('.py'):
|
if name.endswith('.py'):
|
||||||
name = name[:-3]
|
name = name[:-3]
|
||||||
|
|
||||||
python = os.path.normpath(sys.executable)
|
|
||||||
fd = file(name + '.py', 'w')
|
fd = file(name + '.py', 'w')
|
||||||
fd.write(template % (python, 'Id', name, name, className, threaded, name))
|
fd.write(template % ('Id', name, name, className, threaded, name))
|
||||||
fd.close()
|
fd.close()
|
||||||
print 'Your new plugin template is %s.py.' % name
|
print 'Your new plugin template is %s.py.' % name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user