Replace shortened URLs using goog.gl as goog.gl links will no longer be available

pull/8852/head
Aditya Toshniwal 2025-07-30 10:17:06 +05:30
parent aa0a1f676d
commit a197c85f3a
2 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@
"test:js-coverage": "yarn run test:js-once --collect-coverage",
"test:feature": "yarn run bundle && python regression/runtests.py --pkg feature_tests",
"test": "yarn run test:js-once && yarn run bundle && python regression/runtests.py",
"pep8": "pycodestyle --config=../.pycodestyle ../docs && pycodestyle --config=../.pycodestyle ../pkg && pycodestyle --config=../.pycodestyle ../tools && pycodestyle --config=../.pycodestyle ../web",
"pep8": "pycodestyle --config=../.pycodestyle ../docs ../pkg ../tools ../web",
"auditjs-html": "yarn audit --json | yarn run yarn-audit-html --output ../auditjs.html",
"auditjs": "yarn audit --groups dependencies",
"auditpy": "safety check --full-report -i 51668 -i 52495",

View File

@ -128,7 +128,7 @@ def read_file_generator(file, enc):
# errors will never occur regardless of the configured error and
# handles most of the Windows encodings
# handler.
# Ref: https://goo.gl/vDhggS
# Ref: https://tinyurl.com/yvj4u7fw
with codecs.open(file, 'r', encoding='latin-1') as fileObj:
while True:
# 4MB chunk (4 * 1024 * 1024 Bytes)
@ -740,7 +740,7 @@ class Filemanager():
"""
Prevents 'there is no disk in drive' waning on windows
"""
# StackOverflow Ref: https://goo.gl/9gYdef
# StackOverflow Ref: https://stackoverflow.com/q/29059399/164233
if _platform == "win32":
kernel32.SetThreadErrorMode(SEM_FAIL, ctypes.byref(oldmode))