Skip to content
Snippets Groups Projects
Commit 0a489ac9 authored by TonyFord's avatar TonyFord
Browse files

add field for custom tags

parent 5fbf4aba
No related branches found
No related tags found
No related merge requests found
......@@ -140,12 +140,12 @@ for source in Pulls:
logme('- order.yml[tags] not found -> SKIP order !')
continue
else:
if( len(OO['tags']) > 0 and len(OO['tags']) < 3 ):
if( len(OO['tags']) > 0 and len(OO['tags']) < 4 ):
if not os.path.exists('../_data/categories/'+(OO['tags'][0]).strip()+'.yml' ):
logme('- order.yml[tags] = "'+(OO['tags'][0]).strip()+'" not found -> SKIP order !')
continue
else:
logme('- order.yml[tags] bad array length = ' + len(OO['tags']) + ' ( should be 1 or 2 )-> SKIP order !')
logme('- order.yml[tags] bad array length = ' + len(OO['tags']) + ' ( should be 1 or 2 or 3 )-> SKIP order !')
continue
if( 'headline' not in OO ):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment