diff --git a/cogs/transactions.py b/cogs/transactions.py index 370aaf2..c520ce0 100644 --- a/cogs/transactions.py +++ b/cogs/transactions.py @@ -4,7 +4,7 @@ import copy from helpers import * from db_calls import db_get, db_patch, get_team_by_owner, get_team_by_abbrev, get_player_by_name, patch_player, db_post from discord.ext import commands, tasks -OFFSEASON_FLAG = True +OFFSEASON_FLAG = False class SBaTransaction: @@ -341,7 +341,7 @@ class Transactions(commands.Cog): # Begin Freeze # if now.weekday() == 0 and now.hour == 5 and not current['freeze']: # Spring/Summer - if now.weekday() == 0 and now.hour == 6 and not current['freeze']: # Fall/Winter + if now.weekday() == 0 and now.hour == 0 and not current['freeze']: # Fall/Winter current['week'] += 1 if OFFSEASON_FLAG: pass @@ -372,7 +372,7 @@ class Transactions(commands.Cog): # End Freeze # elif now.weekday() == 5 and now.hour == 5 and current['freeze']: # Spring/Summer - elif now.weekday() == 5 and now.hour == 6 and current['freeze']: # Fall/Winter + elif now.weekday() == 5 and now.hour == 0 and current['freeze']: # Fall/Winter if not OFFSEASON_FLAG: await db_patch('current', object_id=current['id'], params=[('freeze', False)])