Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Fix fw bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Prud committed Nov 29, 2020
1 parent 786e33f commit 47f7829
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/utilies/fileworker.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ def read_ssps(self, file_name):

max_day = monthrange(year, month)[1]

if self.russian_months[month-1] != file_name.split()[2]:
print(self.russian_months[month-1] , file_name.split()[2])
return 'ERROR'
#if self.russian_months[month-1] != file_name.split()[2]:
# print(self.russian_months[month-1] , file_name.split()[2])
# return 'ERROR'

print('File name: {0}, first day: {1}, max days in month: {2}'.format(file_path, report_dt, max_day))

Expand Down

0 comments on commit 47f7829

Please sign in to comment.