Comments (2)
index c9beee0..48f355b 100644
--- a/nestwatcher/area.py
+++ b/nestwatcher/area.py
@@ -60,7 +60,7 @@ class Area():
self.bbox = f"{bounds[1]},{bounds[0]},{bounds[3]},{bounds[2]}"
def get_nest_text(self, config, emote_refs, last_migration, time_format):
- with open(f"data/mon_names/{config.language}.json", "r") as f:
+ with open(f"data/mon_names/{config.language}.json", "r", encoding='utf-8') as f:
mon_names = json.load(f)
with open("config/discord.json", "r") as f:
template = json.load(f)
changing line above fixes issue, not in a position to make a PR right now
from nestwatcher.
Fixed, thank you!
from nestwatcher.
Related Issues (20)
- payload too large HOT 3
- Add Nest Report for Telegram HOT 2
- Timestamp Suggestion HOT 1
- Better Emoji handling
- Option to remove outdated nests from the DB
- Poracle Webhooks
- Docker-compose HOT 1
- Only Send Webhooks when nest is being updated HOT 1
- Missing Tags HOT 1
- error when all nests fall below min_avg
- next_migration dts not working HOT 1
- tools.py option 3 not actually updating area_data json files HOT 1
- Event loop is closed HOT 1
- Creating emojis stuck HOT 3
- add a working discord link to the readme and wiki
- Maptiles not posting
- File "nests.py", line 181, in <module> with open(config.json_path, "w+") as file_: HOT 2
- Nest Migration Outdated
- -t or --hours Argument Not Working As Intended HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestwatcher.