Skip to content

Commit 29b20c9

Browse files
authored
fix: fgpyo.fasta.sequence_dictionary incorrect StrEnum import (#175)
Was getting: ModuleNotFoundError: No module named 'strenum'
1 parent 84c8ec4 commit 29b20c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fgpyo/fasta/sequence_dictionary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
from typing import Union
138138
from typing import overload
139139

140-
if sys.version_info[0] == 3 and sys.version_info[0] < 11:
140+
if sys.version_info[0] == 3 and sys.version_info[1] < 11:
141141
from strenum import StrEnum
142142
else:
143143
from enum import StrEnum

0 commit comments

Comments
 (0)