Skip to content

Commit

Permalink
Use new style string formatting for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
BigRoy committed Jan 2, 2020
1 parent 6d894d1 commit 5aea369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avalon/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def find_submodule(module, submodule):
types.ModuleType or None: The module, if found.
"""
name = "%s.%s" % (module.__name__, submodule)
name = "{0}.{1}".format(module.__name__, submodule)
try:
return importlib.import_module(name)
except ImportError as exc:
Expand Down

0 comments on commit 5aea369

Please sign in to comment.