sshyp-mfa - added additional condition to make Steam module optional

This commit is contained in:
2022-07-13 03:49:10 -04:00
parent 7298d5ee6c
commit b9b79666ee
+1 -1
View File
@@ -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