diff --git a/README.md b/README.md index f5ace51..6c7a9f9 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To build the various resolvers, follow the instructions in the [install guide](h To run the "Update Manager" simply run this snippet in the Houdini "Python Source Editor" or Maya "Script Editor" panel: import ssl; from urllib import request - update_manager_url = 'https://raw.githubusercontent.com/LucaScheller/VFX-UsdAssetResolver/main/tools/update_manager.py?token=$(date +%s)' + update_manager_url = 'https://raw.githubusercontent.com/LucaScheller/VFX-UsdAssetResolver/main/tools/update_manager.py?token=$(date+%s)' exec(request.urlopen(update_manager_url,context=ssl._create_unverified_context()).read(), globals(), locals()) run_dcc() diff --git a/docs/src/installation/automatic_install.md b/docs/src/installation/automatic_install.md index 8f1470c..e3767e6 100644 --- a/docs/src/installation/automatic_install.md +++ b/docs/src/installation/automatic_install.md @@ -27,7 +27,7 @@ In Houdini we simply need to open the "Python Source Editor" from the "Windows" ~~~admonish info title="" ```python import ssl; from urllib import request -update_manager_url = 'https://raw.githubusercontent.com/LucaScheller/VFX-UsdAssetResolver/main/tools/update_manager.py?token=$(date +%s)' +update_manager_url = 'https://raw.githubusercontent.com/LucaScheller/VFX-UsdAssetResolver/main/tools/update_manager.py?token=$(date+%s)' exec(request.urlopen(update_manager_url,context=ssl._create_unverified_context()).read(), globals(), locals()) run_dcc() ``` @@ -41,7 +41,7 @@ In Maya we simply need to open the "Script Editor" and run the following code to ~~~admonish info title="" ```python import ssl; from urllib import request -update_manager_url = 'https://raw.githubusercontent.com/LucaScheller/VFX-UsdAssetResolver/main/tools/update_manager.py?token=$(date +%s)' +update_manager_url = 'https://raw.githubusercontent.com/LucaScheller/VFX-UsdAssetResolver/main/tools/update_manager.py?token=$(date+%s)' exec(request.urlopen(update_manager_url,context=ssl._create_unverified_context()).read(), globals(), locals()) run_dcc() ``` diff --git a/tools/update_manager.py b/tools/update_manager.py index 8347c8a..e3ba175 100644 --- a/tools/update_manager.py +++ b/tools/update_manager.py @@ -15,7 +15,7 @@ # To run, execute this in the Houdini/Maya """ import ssl; from urllib import request -update_manager_url = 'https://raw.githubusercontent.com/LucaScheller/VFX-UsdAssetResolver/main/tools/update_manager.py?token=$(date +%s)' +update_manager_url = 'https://raw.githubusercontent.com/LucaScheller/VFX-UsdAssetResolver/main/tools/update_manager.py?token=$(date+%s)' exec(request.urlopen(update_manager_url,context=ssl._create_unverified_context()).read(), globals(), locals()) run_dcc() """