Skip to content

Commit fc14561

Browse files
committed
utils: Fix whitespace issue
1 parent 92d803f commit fc14561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def __call__(self, image, target):
189189

190190
def train_interupter():
191191
with open('train_interupter.txt', 'r', encoding='utf-8') as f:
192-
flag = f.read()
192+
flag = f.read().strip()
193193

194194
if flag == '0':
195195
return False

0 commit comments

Comments
 (0)