Skip to content
Snippets Groups Projects
Commit 254e8267 authored by Krombel's avatar Krombel
Browse files

Only import secrets when available


secrets got introduced in python 3.6 so this class is not available
in 3.5 and before.

This now checks for the current running version and only tries using
secrets if the version is 3.6 or above

Signed-Off-By: default avatarMatthias Kesler <krombel@krombel.de>
parent e9b2d047
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment