Compare commits
No commits in common. "d0cd88c289d54f170ff7493e7d83af8536c50449" and "35bd4c5717027391e138da06744099646ce3c175" have entirely different histories.
d0cd88c289
...
35bd4c5717
|
@ -31,7 +31,7 @@ DLSITE_ID_REGEX = re.compile('^[BR]J[0-9]+$')
|
||||||
FANZA_ID_REGEX = re.compile('^d_[0-9]+$')
|
FANZA_ID_REGEX = re.compile('^d_[0-9]+$')
|
||||||
FAKKU_ID_REGEX = re.compile('.*_FAKKU$')
|
FAKKU_ID_REGEX = re.compile('.*_FAKKU$')
|
||||||
|
|
||||||
HI_RES_REGEX = re.compile('高解像度|原寸', re.I)
|
HI_RES_REGEX = re.compile('高解像度', re.I)
|
||||||
NO_TONE_REGEX = re.compile('トーン(効果)?[な無]し|グレースケール', re.I)
|
NO_TONE_REGEX = re.compile('トーン(効果)?[な無]し|グレースケール', re.I)
|
||||||
TONE_REGEX = re.compile('トーン(版|(効果)?[有あ]り)', re.I)
|
TONE_REGEX = re.compile('トーン(版|(効果)?[有あ]り)', re.I)
|
||||||
COLOR_REGEX = re.compile('カラー', re.I)
|
COLOR_REGEX = re.compile('カラー', re.I)
|
||||||
|
@ -757,7 +757,7 @@ def complete_prefix_number_ordering(entries):
|
||||||
cur = unified_indices[i]
|
cur = unified_indices[i]
|
||||||
prev = unified_indices[i-1]
|
prev = unified_indices[i-1]
|
||||||
for level in range(min(len(cur), len(prev))):
|
for level in range(min(len(cur), len(prev))):
|
||||||
if cur[level] != prev[level] and not (cur[level] == 5 and prev[level] == 0):
|
if cur[level] != prev[level]:
|
||||||
delta = cur[level] - prev[level]
|
delta = cur[level] - prev[level]
|
||||||
min_delta_by_level[level] = min(min_delta_by_level.get(level, delta), delta)
|
min_delta_by_level[level] = min(min_delta_by_level.get(level, delta), delta)
|
||||||
if any(delta > 2 for delta in min_delta_by_level.values()):
|
if any(delta > 2 for delta in min_delta_by_level.values()):
|
||||||
|
|
Loading…
Reference in a new issue