diff options
| author | 2018-11-05 12:15:54 +0000 | |
|---|---|---|
| committer | 2018-11-05 12:15:54 +0000 | |
| commit | 7baab0f7d7d7d736a6028ceb6db10c4a2fed113e (patch) | |
| tree | 553ee721eca02b28793511121bbcafc3023f28c6 /modules/scripts.py | |
| parent | Clarify `items` and `var_items` typing in src.utils.parse (diff) | |
| signature | ||
Update modules/scripts.py to use utils.parse.hashflags instead of
utils.get_hashflags
Diffstat (limited to 'modules/scripts.py')
| -rw-r--r-- | modules/scripts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/scripts.py b/modules/scripts.py index ae158546..5b87767d 100644 --- a/modules/scripts.py +++ b/modules/scripts.py @@ -11,7 +11,7 @@ class Module(ModuleManager.BaseModule): def _load_scripts(self): for filename in glob.glob(os.path.join(self._directory, "*")): name = os.path.basename(filename) - for hashflag, value in utils.get_hashflags(filename): + for hashflag, value in utils.parse.hashflags(filename): if hashflag == "name" and value: name = value elif hashflag == "hook" and value: |
