From 7710578a3cfca7ed5fa812e8db300330ae7d7be3 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 13 Sep 2017 12:35:50 -0400 Subject: [PATCH] allow location clear --- src/gam.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gam.py b/src/gam.py index bf0e8bca..27ab9e42 100755 --- a/src/gam.py +++ b/src/gam.py @@ -6787,6 +6787,9 @@ def getUserAttributes(i, cd, updateCmd=False): body[u'notes'] = note elif myarg == u'location': i += 1 + if checkClearBodyList(i, body, u'locations'): + i += 1 + continue location = {} while True: myopt = sys.argv[i].lower()