Skip to content

Commit

Permalink
Relative imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgmf committed May 16, 2022
1 parent 2332f04 commit bb74cfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fit_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
from struct import pack
from typing import List

from definitions import MANUFACTURER, PRODUCT, SPORT, SEGMENT_LEADERBOARD_TYPE
from profile import Record, get_message, Crc
from .definitions import MANUFACTURER, PRODUCT, SPORT, SEGMENT_LEADERBOARD_TYPE
from .profile import Record, get_message, Crc


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from struct import pack
from typing import List

from definitions import FIT_BASE_TYPES
from .definitions import FIT_BASE_TYPES

# According to the SDK date_time type is computed counting the seconds since this datetime: UTC 00:00 Dec 31 1989
date_time_seconds_since = datetime(1989, 12, 31, 0, 0, 0).timestamp()
Expand Down

0 comments on commit bb74cfe

Please sign in to comment.