changeset 3884 | 34da877021d5 |
parent 3848 | 91da73c3df61 |
--- a/runtime/Stunnel.py Sat Dec 09 01:03:43 2023 +0100 +++ b/runtime/Stunnel.py Wed Jan 17 22:09:32 2024 +0100 @@ -50,8 +50,8 @@ if not os.path.exists(_PSKpath): errorlog( 'Error: Pre-Shared-Key Secret in %s is missing!\n' % _PSKpath) - return None + return ("","") ID, _sep, PSK = open(_PSKpath).read().partition(':') PSK = PSK.rstrip('\n\r') return (ID, PSK) - return None + return ("","")