From df670a38513e039dc209a77b55ecc6ee508b47a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= <git@wgmd.de>
Date: Fri, 26 Jan 2018 00:46:50 +0100
Subject: Remove some debug prints

---
 SteamAPI.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/SteamAPI.py b/SteamAPI.py
index 0f2c91e..87b5c39 100644
--- a/SteamAPI.py
+++ b/SteamAPI.py
@@ -76,7 +76,6 @@ class SteamAPI():
             url = 'https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v2/?format=json&key=%s&steamids=%s' % (self.token, steamidlist)
             response = urlopen(url)
             if response.status != 200:
-                print('Isn\'t this an HTTPError?')
                 return []
             data = response.read().decode('utf-8')
             jsondata = json.loads(data)
@@ -151,22 +150,18 @@ class SteamAPI():
                 return jsondata['game']
 
         url = 'http://api.steampowered.com/ISteamUserStats/GetSchemaForGame/v2/?key=%s&appid=%s&format=json' % (self.token, str(gameid))
-        print(url)
         try:
             response = urlopen(url)
             data = response.read().decode('utf-8')
             jsondata = json.loads(data)
         except HTTPError as e:
             # f.e. profile is private
-            print('Fetch failed.', e.code, e.reason)
             jsondata = None
 
         if 'game' in jsondata:
             if CACHE:
                 Caching.writeCache('gameschema', gameid, json.dumps(jsondata))
             return jsondata['game']
-        else:
-            print('No game in json:', jsondata)
         return None
 
     def getPlayerGames(self, steamid):
@@ -184,7 +179,6 @@ class SteamAPI():
                 return ( jsondata['response']['game_count'], jsondata['response']['games'] )
 
         url = 'http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key=%s&steamid=%s&include_appinfo=1&format=json' % (self.token, str(steamid))
-        print(url)
         try:
             response = urlopen(url)
             data = response.read().decode('utf-8')
-- 
cgit v1.2.3