ryry-cli 2.92__tar.gz → 2.93__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ryry-cli-2.92/ryry_cli.egg-info → ryry-cli-2.93}/PKG-INFO +1 -1
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/constant.py +2 -2
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/ryry_widget.py +6 -1
- {ryry-cli-2.92 → ryry-cli-2.93/ryry_cli.egg-info}/PKG-INFO +1 -1
- {ryry-cli-2.92 → ryry-cli-2.93}/setup.py +1 -1
- {ryry-cli-2.92 → ryry-cli-2.93}/LICENSE +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/README.md +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/__init__.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/main.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/ryry_server_socket.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/ryry_service.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/ryry_webapi.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/script_template/__init__.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/script_template/main.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/script_template/run.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/server_func.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/store.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/task.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/taskUtils.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/upload.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry/utils.py +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry_cli.egg-info/SOURCES.txt +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry_cli.egg-info/dependency_links.txt +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry_cli.egg-info/entry_points.txt +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry_cli.egg-info/requires.txt +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/ryry_cli.egg-info/top_level.txt +0 -0
- {ryry-cli-2.92 → ryry-cli-2.93}/setup.cfg +0 -0
|
@@ -308,8 +308,13 @@ def widgetReInstall(name, url, local_path):
|
|
|
308
308
|
f.write(requests.get(url).content)
|
|
309
309
|
except:
|
|
310
310
|
#bak url
|
|
311
|
+
bak_url = url.replace("widget.dalipen.com", "aigc.zjtemplate.com/widget")
|
|
312
|
+
bak_url = bak_url.replace("r2.dalipen.com", "aigc.zjtemplate.com/r2")
|
|
313
|
+
bak_url = bak_url.replace("datenet.dalipen.com", "aigc.zjtemplate.com/datenet")
|
|
314
|
+
bak_url = bak_url.replace("upload.dalipen.com", "aigc.zjtemplate.com/upload")
|
|
315
|
+
bak_url = bak_url.replace("api.dalipen.com", "aigc.zjtemplate.com")
|
|
311
316
|
with open(download_file, 'wb+') as f:
|
|
312
|
-
f.write(requests.get(
|
|
317
|
+
f.write(requests.get(bak_url).content)
|
|
313
318
|
try:
|
|
314
319
|
if os.path.exists(download_file) and os.stat(download_file).st_size > 100:
|
|
315
320
|
if os.path.exists(local_path):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|