Skip to content

Commit a45b306

Browse files
committed
Add encoding needed for py2 sphinx build.
Got this error without it: Configuration error: There is a syntax error in your configuration file: Non-ASCII character '\xe2' in file /home/travis/build/drvinceknight/Axelrod/axelrod/match.py on line 161, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (match.py, line 161) make: *** [html] Error 1
1 parent 865b083 commit a45b306

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

axelrod/match.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from axelrod import Actions, Game
23
from .deterministic_cache import DeterministicCache
34

0 commit comments

Comments
 (0)