Skip to content

Commit 9b9fe4f

Browse files
fix os exit
1 parent ce6de14 commit 9b9fe4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

encryptcontent/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def on_config(self, config, **kwargs):
159159
else:
160160
logger.error(('Cannot get global password from environment variable: '),
161161
(f"{str(self.config['use_secret'])}. Abort !"))
162-
os.exit()
162+
os._exit()
163163
# Set global password as default password for each page
164164
self.config['password'] = self.config['global_password']
165165
# Check if hljs feature need to be enabled, based on theme configuration

0 commit comments

Comments
 (0)