summaryrefslogtreecommitdiff
path: root/qutebrowser/utils/utils.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-01-26 15:16:36 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-01-26 15:19:01 +0100
commit1a4fff1a4216d4d2736621527e2ff6c744ab6656 (patch)
treee31c962c150353f37826c276f50c7d6530d022ed /qutebrowser/utils/utils.py
parenteeb26a6aa8e9ddc7b48d656ea93dea987ee88c79 (diff)
downloadqutebrowser-1a4fff1a4216d4d2736621527e2ff6c744ab6656.tar.gz
qutebrowser-1a4fff1a4216d4d2736621527e2ff6c744ab6656.zip
doc: Switch URLs to https
Diffstat (limited to 'qutebrowser/utils/utils.py')
-rw-r--r--qutebrowser/utils/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/utils/utils.py b/qutebrowser/utils/utils.py
index 4ae0c9cab..bb70ee99c 100644
--- a/qutebrowser/utils/utils.py
+++ b/qutebrowser/utils/utils.py
@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
+# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>.
"""Other utilities which don't fit anywhere else."""
@@ -267,7 +267,7 @@ def format_seconds(total_seconds: int) -> str:
def format_size(size: Optional[float], base: int = 1024, suffix: str = '') -> str:
"""Format a byte size so it's human readable.
- Inspired by http://stackoverflow.com/q/1094841
+ Inspired by https://stackoverflow.com/q/1094841
"""
prefixes = ['', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y']
if size is None: