Skip to content

Commit

Permalink
[TASK] Remote print in dedimania catch block. (Closes #373).
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvlk committed Jun 18, 2017
1 parent 73e6d85 commit 28503fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyplanet/apps/contrib/dedimania/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import logging
import requests

from pprint import pprint
from xmlrpc.client import dumps, loads

from requests import ConnectTimeout, ReadTimeout
Expand Down Expand Up @@ -309,7 +308,6 @@ async def set_map_times(self, map, game_mode, records, v_replay=None, v_replay_c
try:
return bool(isinstance(result[0][0]['Records'], list))
except Exception as e:
pprint(result)
logger.error('Sending times to dedimania failed. Info: {}'.format(result))
return False

Expand Down

0 comments on commit 28503fd

Please sign in to comment.