switched to argv[0] from __file__ as it is what we actually wanted

This commit is contained in:
Brian Coca
2015-06-09 17:29:46 -04:00
parent 5aec5e5eb0
commit fdeca37257
2 changed files with 4 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ if __name__ == '__main__':
cli = None
display = Display()
me = os.path.basename(__file__)
me = os.path.basename(sys.argv[0])
try:
if me == 'ansible-playbook':