Skip to content

Commit

Permalink
addon_manager: allow uploading . dir
Browse files Browse the repository at this point in the history
fixes GH-2494
  • Loading branch information
V N authored and jyrkive committed Feb 20, 2018
1 parent 68d5a8d commit f7b31e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/tools/wesnoth_addon_manager
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ if __name__ == "__main__":

# New style with _server.pbl
pbl_file_name = os.path.join(args.upload, "_server.pbl")
name = os.path.basename(args.upload)
name = os.path.basename(os.path.realpath(args.upload))
wmldir = args.upload
cfgfile = None # _main.cfg will be uploaded with the rest
ignfile = os.path.join(args.upload, "_server.ign")
Expand Down

0 comments on commit f7b31e7

Please sign in to comment.