Skip to content

Commit

Permalink
Fix printed exception and fix typo in docstring + clarify docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
BigRoy committed Jan 2, 2020
1 parent 5aea369 commit 241e05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avalon/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def modules_from_path(path):
"""Get python scripts as modules from a path.
Arguments:
path (str): Path to python scrips.
path (str): Path to folder containing python scripts.
Returns:
List of modules.
Expand Down Expand Up @@ -276,7 +276,7 @@ def modules_from_path(path):
sys.modules[mod_name] = module

except Exception as err:
print("Skipped: \"%s\" (%s)", mod_name, err)
print("Skipped: \"{0}\" ({1})".format(mod_name, err))
continue

modules.append(module)
Expand Down

0 comments on commit 241e05d

Please sign in to comment.