Major recoding of plugins/namegen.py and associated files
This commit is contained in:
parent
cb4a27e2a2
commit
265f2815d8
4 changed files with 35 additions and 17 deletions
|
@ -184,7 +184,14 @@ class Molecule:
|
|||
else:
|
||||
self.cursection.append(line)
|
||||
fp.close()
|
||||
|
||||
|
||||
def list_modules(self):
|
||||
files = os.listdir(NAMEDIR)
|
||||
modules = []
|
||||
for i in files:
|
||||
modules.append(os.path.splitext(i)[0])
|
||||
return modules
|
||||
|
||||
def name(self):
|
||||
n = []
|
||||
if len(self.nametbl["first"]) > 0:
|
||||
|
|
Reference in a new issue