Skip to content

Commit 6dd63c7

Browse files
committed
corrected timezone
1 parent 3a8d225 commit 6dd63c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

functions-python/tasks_executor/src/tasks/licenses/populate_licenses.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818
# 4. Supports a 'dry_run' mode, which simulates the process and logs intended
1919
# actions without committing any changes to the database.
2020
# 5. Includes error handling for network issues and database transactions.
21-
from datetime import datetime
2221
import logging
22+
from datetime import datetime, timezone
2323

24-
from pytz import timezone
2524
import requests
2625
from shared.database.database import with_db_session
2726
from shared.database_gen.sqlacodegen_models import License, Rule

0 commit comments

Comments
 (0)