Skip to content

Commit

Permalink
Merge branch 'release/3.5.0-b3'
Browse files Browse the repository at this point in the history
  • Loading branch information
aussig committed Feb 24, 2024
2 parents 65df838 + c6ec701 commit 201cbb7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## v3.5.0-b3 - 2024-02-24

### Bug Fixes:

* Handle system names with spaces in multi-CMDR discord report.


## v3.5.0-b2 - 2024-02-24

### Changes:
Expand Down
8 changes: 5 additions & 3 deletions bgstally/windows/cmdrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
from datetime import datetime
from functools import partial
from tkinter import ttk
from urllib.parse import quote

from bgstally.constants import CmdrInteractionReason, DATETIME_FORMAT_JOURNAL, DiscordChannel, COLOUR_HEADING_1, FONT_HEADING_1, FONT_HEADING_2
from ttkHyperlinkLabel import HyperlinkLabel

from bgstally.constants import COLOUR_HEADING_1, DATETIME_FORMAT_JOURNAL, FONT_HEADING_1, FONT_HEADING_2, CmdrInteractionReason, DiscordChannel
from bgstally.debug import Debug
from bgstally.widgets import TreeviewPlus
from ttkHyperlinkLabel import HyperlinkLabel
from thirdparty.colors import *

DATETIME_FORMAT_CMDRLIST = "%Y-%m-%d %H:%M:%S"
Expand Down Expand Up @@ -277,7 +279,7 @@ def _post_multiple_CMDRs_to_discord(self):
else:
text += f" - {cmdr.get('TargetName')}"

text += f" - [{cmdr.get('System')}](https://inara.cz/elite/starsystem/?search={cmdr.get('System')}) - {cmdr.get('Ship')}"
text += f" - [{cmdr.get('System')}](https://inara.cz/elite/starsystem/?search={quote(cmdr.get('System'))}) - {cmdr.get('Ship')}"

if 'squadron' in cmdr:
squadron_info = cmdr.get('squadron')
Expand Down
2 changes: 1 addition & 1 deletion load.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from bgstally.debug import Debug

PLUGIN_NAME = "BGS-Tally"
PLUGIN_VERSION = semantic_version.Version.coerce("3.5.0-b2")
PLUGIN_VERSION = semantic_version.Version.coerce("3.5.0-b3")

# Initialise the main plugin class
this:BGSTally = BGSTally(PLUGIN_NAME, PLUGIN_VERSION)
Expand Down

0 comments on commit 201cbb7

Please sign in to comment.