Skip to content

Conversation

shalamot
Copy link
Collaborator

@shalamot shalamot commented May 7, 2025

No description provided.

Comment on lines +14 to +16
date Дата сессии
start Время начала сессии
end Время окончания сессии
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Давайте сделаем два параметра типа datetime - start и finish

continue
event_description = event["element_type"] + " " + event["event_type"] + ":"
time_code = str(event_time - start)
link = "https://proctoring.moevm.info/teach/" + parser.id + '?webTime=' + time_code + '&screenTime=' + time_code
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Домен прокторинга нужно вынести в константу

parser.add_argument("end", help="Время окончания сессии")

args = parser.parse_args()
args.name = args.name.replace("_", " ")
Copy link

@Artanias Artanias May 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cтоит указать в месте добавления аргумента "name", что он required=True, иначе кто-то не задаст и будет неочевидное падение. Также и по поводу других аргументов, может им также стоит прописать required?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Сделать скрипт для интеграции с сервисом прокторинга

3 participants