diff options
| author | tza <marios8543@gmail.com> | 2022-04-13 23:50:26 +0300 |
|---|---|---|
| committer | tza <marios8543@gmail.com> | 2022-04-13 23:50:26 +0300 |
| commit | 6694d5ab714cd27c88d51e2561a898718f2e8e69 (patch) | |
| tree | b8139d8aa4200e2c561edc7badb22bc4c0715f1a /plugin_loader/loader.py | |
| parent | c084abecfc039fd5bdfcb08d7b56c66ddb10839e (diff) | |
| download | decky-loader-6694d5ab714cd27c88d51e2561a898718f2e8e69.tar.gz decky-loader-6694d5ab714cd27c88d51e2561a898718f2e8e69.zip | |
fixed passive plugin reload bug and close event loop properly
Diffstat (limited to 'plugin_loader/loader.py')
| -rw-r--r-- | plugin_loader/loader.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin_loader/loader.py b/plugin_loader/loader.py index 74c99442..ae609301 100644 --- a/plugin_loader/loader.py +++ b/plugin_loader/loader.py @@ -31,8 +31,6 @@ class FileChangeHandler(FileSystemEventHandler): rel_path = path.relpath(src_path, path.commonprefix([self.plugin_path, src_path])) plugin_dir = path.split(rel_path)[0] main_file_path = path.join(self.plugin_path, plugin_dir, "main.py") - if not path.isfile(main_file_path): - return self.loader.import_plugin(main_file_path, plugin_dir, refresh=True) def on_modified(self, event): |
