Skip to content

Commit

Permalink
fixup tools: move Identifier to tools.identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Exirel committed Dec 31, 2021
1 parent 40fa2f8 commit 36ee463
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sopel/tools/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,8 @@ def _check(zone):

if zone:
tz = _check(zone)
if not tz and zone:
tz = _check(
db.get_nick_value(zone, 'timezone')
or db.get_channel_value(zone, 'timezone'))
if not tz:
tz = _check(db.get_nick_or_channel_value(zone, 'timezone'))
if not tz and nick:
tz = _check(db.get_nick_value(nick, 'timezone'))
if not tz and channel:
Expand Down

0 comments on commit 36ee463

Please sign in to comment.