blob: fd4bb45253e83887e5abe1be9888649aed1ab2b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- habitica/habitica/core.py 2016-01-17 18:01:28.432752091 -0500
+++ habitica/habitica/core.py 2016-01-17 18:08:45.399967234 -0500
@@ -13,7 +13,11 @@
from bisect import bisect
-import ConfigParser
+import sys
+if sys.version < '3':
+ import ConfigParser
+else:
+ import configparser as ConfigParser
import json
import logging
import netrc
|