Skip to content

Commit

Permalink
append time
Browse files Browse the repository at this point in the history
  • Loading branch information
Gr8z committed Nov 23, 2018
1 parent 2e69dd0 commit dddfa50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions warbattles/warbattles.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def deckStrength(self, team, opp):

async def cleanTime(self, time):
"""Converts time to timestamp"""
return int(datetime.strptime(time, '%Y%m%dT%H%M%S.%fZ').timestamp()) + 7200
return int(datetime.strptime(time, '%Y%m%dT%H%M%S.%fZ').timestamp()) + 3600

async def get_clan_battles(self, clankey):
""" Get war battles from each clan member"""
Expand Down Expand Up @@ -141,7 +141,6 @@ async def warbattles(self, ctx):
await asyncio.sleep(1)
self.completed = [[], []]
self.moment = time.time()
print("warbattles Done")


def setup(bot):
Expand Down

0 comments on commit dddfa50

Please sign in to comment.