Skip to content

Commit

Permalink
Fix get_hash bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jing He committed Aug 6, 2020

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent b047427 commit 4194a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ def get_hash():
sha = get_git_hash()[:7]
elif os.path.exists(version_file):
try:
from mmdet.version import __version__
from mmedit.version import __version__
sha = __version__.split('+')[-1]
except ImportError:
raise ImportError('Unable to get git version')

0 comments on commit 4194a69

Please sign in to comment.