Skip to content

Commit 439a2d5

Browse files
committed
fixed path resolving
1 parent b3959d2 commit 439a2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def parse_arguments():
3636
parser = argparse.ArgumentParser(description=desc)
3737

3838
# Grab the current dir of the script, for setting some defaults below
39-
script_path = os.path.dirname(__file__)
39+
script_path = os.path.split(os.path.abspath(sys.argv[0]))[0]
4040

4141
kw_group = parser.add_mutually_exclusive_group(required=True)
4242

0 commit comments

Comments
 (0)