Commit e1fa9fd
committed
fix(calendar): disable static discovery so packaged builds work
cx_Freeze bundles googleapiclient as .pyc inside library.zip but does not
include the discovery_cache JSON data files. With the default
static_discovery=True, build() looks for the missing calendar.v3.json and
raises UnknownApiNameOrVersion instead of falling back to the network.
Force network discovery so the widget works in both dev and packaged installs.1 parent 35ed361 commit e1fa9fd
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
| |||
0 commit comments