Skip to content
This repository was archived by the owner on Aug 19, 2018. It is now read-only.

Commit df39b8b

Browse files
committed
Fixed a minor bug
1 parent 7aee004 commit df39b8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crasync/models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def magical(self):
121121
while x != 'Magic':
122122
count += 1
123123
index += 1
124-
if index == len(CHESTS) - 1:
124+
if index == len(CHESTS):
125125
index = 0
126126
x = CHESTS[index]
127127
return count+self.position
@@ -134,7 +134,7 @@ def giant(self):
134134
while x != 'Giant':
135135
count += 1
136136
index += 1
137-
if index == len(CHESTS) - 1:
137+
if index == len(CHESTS):
138138
index = 0
139139
x = CHESTS[index]
140140
return count+self.position

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name='crasync',
55
packages=['crasync'], # this must be the same as the name above
6-
version='v2.0.15',
6+
version='v2.0.16',
77
description='An async wrapper for cr-api.com',
88
author='verixx',
99
license='MIT',

0 commit comments

Comments
 (0)