Skip to content

Commit a99a091

Browse files
committed
Fix open issue on Windows
1 parent 3db9674 commit a99a091

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ Become a sponsor on [Patreon](https://patreon.com/kyber).
143143

144144
Modmail supports the use of third-party plugins to extend or add functionalities to the bot. This allows niche features as well as anything else outside of the scope of the core functionality of Modmail. A list of third-party plugins can be found using the `plugins registry` command. To develop your own, check out the [plugins documentation](https://github.com/kyb3r/modmail/wiki/Plugins).
145145

146-
Plugins requests and support is available in our (Modmail Plugins Server)[https://discord.gg/4JE4XSW].
146+
Plugins requests and support is available in our [Modmail Plugins Server](https://discord.gg/4JE4XSW).
147147

148148
## Contributing
149149

150150
Contributions to Modmail are always welcome, whether it be improvements to the documentation or new functionality, please feel free to make the change. Check out our contribution [guidelines](https://github.com/kyb3r/modmail/blob/master/CONTRIBUTING.md) before you get started.
151151

152-
If you like this project and would like to show your appreciation, support us on **[Patreon](https://www.patreon.com/kyber)**!
152+
If you like this project and would like to show your appreciation, support us on **[Patreon](https://www.patreon.com/kyber)**!

core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def populate_cache(self) -> dict:
153153
config_help_json = os.path.join(
154154
os.path.dirname(os.path.abspath(__file__)), "config_help.json"
155155
)
156-
with open(config_help_json, "r") as f:
156+
with open(config_help_json, "r", encoding="utf-8") as f:
157157
self.config_help = dict(sorted(json.load(f).items()))
158158

159159
return self._cache

0 commit comments

Comments
 (0)