Recognize 'trunk' as a wesnoth version rather than a port number
This commit is contained in:
parent
92521cd5dd
commit
f44354a645
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ if __name__ == "__main__":
|
|||
options, args = optionparser.parse_args()
|
||||
|
||||
port = options.port
|
||||
if "." in options.port:
|
||||
if not options.port.isdigit():
|
||||
for (portnum, version) in CampaignClient.portmap:
|
||||
if options.port == version:
|
||||
port = portnum
|
||||
|
|
Loading…
Add table
Reference in a new issue