diff --git a/script/get_orders.py b/script/get_orders.py index 389b2b331970a0fc11a1cb14c5326a4e0a3a7613..de68a4bb77480a241b4f258bcec47857d2b9f9fd 100644 --- a/script/get_orders.py +++ b/script/get_orders.py @@ -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 ):