Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
polomarcus committed Aug 28, 2024
1 parent d560986 commit b2353c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quotaclimat/data_processing/mediatree/channel_program.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ def add_channel_program(df: pd.DataFrame):
raise Exception

def compare_weekday(row: str, start_weekday: int) -> bool:
logging.debug(f"Comparing weekday {start_weekday} with df_program_weekday value : {df_program_weekday}")
try:
df_program_weekday = row['weekday']
logging.debug(f"Comparing weekday {start_weekday} with row value : {df_program_weekday}")
result = False
match not df_program_weekday.isdigit():
case False: #int case
Expand Down

0 comments on commit b2353c9

Please sign in to comment.