working on publish template command #3
This commit is contained in:
parent
0f93066e41
commit
12f483c263
|
@ -480,15 +480,15 @@ def create_user_metas(option):
|
|||
if not res in ['y', 'Y']:
|
||||
logs.out("255", '', True)
|
||||
|
||||
user_file = open(db.metas_load, 'r').read()
|
||||
user_file = open(db.metas_load, 'r').read()
|
||||
|
||||
for line in user_file.rsplit('\n'):
|
||||
if line.startswith(metas_used):
|
||||
if user_metas: user_metas = "%s\n %s"%(user_metas, line)
|
||||
else: user_metas = ' %s'%line
|
||||
for line in user_file.rsplit('\n'):
|
||||
if line.startswith(metas_used):
|
||||
if user_metas: user_metas = "%s\n %s"%(user_metas, line)
|
||||
else: user_metas = ' %s'%line
|
||||
|
||||
tyto.set_file(target, True, user_metas)
|
||||
print(log_html)
|
||||
tyto.set_file(target, True, user_metas)
|
||||
print(log_html)
|
||||
|
||||
|
||||
#=========================================#
|
||||
|
|
Loading…
Reference in New Issue