mirror of
https://github.com/rwinkhart/sshyp-labs.git
synced 2026-08-28 04:46:48 -04:00
sshyp-mfa - added additional condition to make Steam module optional
This commit is contained in:
@@ -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