This commit is contained in:
2025-05-07 01:31:21 +08:00
parent d27ef50341
commit 27240530b6
18 changed files with 2033 additions and 1160 deletions

View File

@@ -477,6 +477,9 @@ endif
def _get_reload_modules_command(self):
"""Get the command string for the reload modules button"""
return f"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import os
import importlib
@@ -524,6 +527,9 @@ except Exception as error:
def _get_shelf_button_command(self):
"""Get the command string for the shelf button"""
return f"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import os
import importlib
@@ -595,6 +601,9 @@ except Exception as e:
def _get_reload_modules_command(self):
"""Get the command string for the reload modules button"""
return f"""
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import os
import importlib