mirror of
https://github.com/maubot/maubot
synced 2025-08-29 17:50:38 +00:00
Fix blank module handling in mbc build and bump alpine base in dockerfile
This commit is contained in:
parent
56a11fdceb
commit
c01cf127be
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ def write_plugin(meta: PluginMeta, output: Union[str, IO]) -> None:
|
|||
for module in meta.modules:
|
||||
if os.path.isfile(f"{module}.py"):
|
||||
zip.write(f"{module}.py")
|
||||
elif os.path.isdir(module):
|
||||
elif module is not None and os.path.isdir(module):
|
||||
zipdir(zip, module)
|
||||
else:
|
||||
print(Fore.YELLOW + f"Module {module} not found, skipping" + Fore.RESET)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue