Commit cd26080d authored by Aurel's avatar Aurel

vault_url can be None and "", do nothing in both cases

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17613 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 85c1579f
......@@ -89,7 +89,7 @@ total_inventory_list = []\n
for counter_vault in counter_vault_list:\n
counter_title = counter_vault[0]\n
counter_vault_url = counter_vault[1]\n
if counter_vault_url==\'\':\n
if counter_vault_url in (\'\', None):\n
continue\n
counter_title = counter_vault[0]\n
temp_list = context.CounterModule_getVaultTransactionList(vault=counter_vault_url)\n
......
377
\ No newline at end of file
378
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment