We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3959d2 commit 439a2d5Copy full SHA for 439a2d5
cloud_enum.py
@@ -36,7 +36,7 @@ def parse_arguments():
36
parser = argparse.ArgumentParser(description=desc)
37
38
# Grab the current dir of the script, for setting some defaults below
39
- script_path = os.path.dirname(__file__)
+ script_path = os.path.split(os.path.abspath(sys.argv[0]))[0]
40
41
kw_group = parser.add_mutually_exclusive_group(required=True)
42
0 commit comments