Skip to content

Commit

Permalink
Use __package__ also in cases where module is not defined in __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
javierggt committed Jan 9, 2020
1 parent 4b754a2 commit 1c0b868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ska/quatutil/quatutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import ska_helpers

__version__ = ska_helpers.get_version('Ska.quatutil')
__version__ = ska_helpers.get_version(__package__)


def radec2eci(ra, dec):
Expand Down

0 comments on commit 1c0b868

Please sign in to comment.