mirror of
https://github.com/rwinkhart/sshyp-labs.git
synced 2026-10-27 06:39:57 -04:00
sshyp-mfa - added additional condition to make Steam module optional
This commit is contained in:
1 parent
7298d5ee6c
commit
b9b79666ee
1 file changed
+1
-1
@@ -12,7 +12,7 @@ from sys import argv, exit as s_exit
|
|||||||
from time import sleep, strftime, time
|
from time import sleep, strftime, time
|
||||||
try:
|
try:
|
||||||
from steam.guard import generate_twofactor_code as steam_totp
|
from steam.guard import generate_twofactor_code as steam_totp
|
||||||
except ModuleNotFoundError:
|
except (ModuleNotFoundError, ImportError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user