Skip to content

Commit

Permalink
Add support for both script and module local import (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
anryko authored and lavie committed Jul 8, 2019
1 parent e2d2dd0 commit a849120
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion runlike/runlike.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/usr/bin/env python

import click
from inspector import Inspector

try:
from .inspector import Inspector
except ValueError:
from inspector import Inspector


@click.command(
Expand Down

0 comments on commit a849120

Please sign in to comment.