Commit b838ea1 1 parent ac5fea9 commit b838ea1 Copy full SHA for b838ea1
File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -280,9 +280,10 @@ from meteomoris import get_main_message
280
280
Meteo.CHECK_INTERNET = True # Will check if there is internet
281
281
Meteo.EXIT_ON_NO_INTERNET = True # Will exit if no internet
282
282
Meteo.ALREADY_CHECKED_INTERNET = False
283
- Meteo.EXIT_ON_NO_INTERNET = True
284
- Meteo.CHECK_INTERNET = True
285
283
Meteo.DEBUG = False # used during development
284
+ Meteo.CACHE_PERMS = True # used internally, modify to refelct if cache file can be created
285
+ Meteo.CACHE_PATH = " ." # If cache path can be customized, default to site-packages
286
+
286
287
Meteo.today = " 2023-11-10" # If you want to override cache data
287
288
Meteo.headers = {
288
289
' User-Agent' : ' Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0' ,
348
349
- 2.8 .4 Feat resist cache perms
349
350
- 2.8 .5 Fix cache not found on perms error
350
351
- 2.8 .6 Fix none error on no cache data
352
+ - 2.8 .7 Lots of fixes, tests + customizable cache path
351
353
352
354
# # 2.8.0
353
355
Original file line number Diff line number Diff line change 19
19
get_latest = Meteo .get_latest
20
20
get_uvindex = Meteo .get_uvindex
21
21
22
- __version__ = "2.8.6 "
22
+ __version__ = "2.8.7 "
You can’t perform that action at this time.
0 commit comments