Skip to content

Commit

Permalink
Follow main class specification of #31
Browse files Browse the repository at this point in the history
  • Loading branch information
hanslovsky committed Aug 28, 2019
1 parent 005801a commit d6d512f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jgo/jgo.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def run(parser, argv=sys.argv[1:], stdout=None, stderr=None):
verbose = args.verbose,
link_type = link_type)

main_class_file = os.path.join(workspace, primary_endpoint.main_class, 'mainClass') if primary_endpoint.main_class else os.path.join(workspace, 'mainClass')
main_class_file = os.path.join(workspace, primary_endpoint.main_class) if primary_endpoint.main_class else os.path.join(workspace, 'mainClass')
try:
with open(main_class_file, 'r') as f:
main_class = f.readline()
Expand Down

0 comments on commit d6d512f

Please sign in to comment.