From b43b2cd6fc2fee4d1e51ad9a58c4fbd837c9c1ba Mon Sep 17 00:00:00 2001 From: Rossen Georgiev <rossen@rgp.io> Date: Thu, 16 Jul 2015 09:03:58 +0100 Subject: [PATCH] steamid.community_url is now https --- README.rst | 2 +- steam/steamid.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index f3777f2..49b8fdc 100644 --- a/README.rst +++ b/README.rst @@ -96,7 +96,7 @@ SteamID >>> group.as_steam3 '[g:1:4]' >>> group.community_url - 'http://steamcommunity.com/gid/103582791429521412' + 'https://steamcommunity.com/gid/103582791429521412' diff --git a/steam/steamid.py b/steam/steamid.py index 9887b70..60e9f0d 100644 --- a/steam/steamid.py +++ b/steam/steamid.py @@ -188,6 +188,6 @@ class SteamID(object): EType.Clan: "gid/%s", } if self.type in suffix: - url = "http://steamcommunity.com/%s" % suffix[self.type] + url = "https://steamcommunity.com/%s" % suffix[self.type] return url % self.as_64 - return '' + return None