Skip to content

Commit e99cb4c

Browse files
committed
re-added python 2.4 support with the custom oauth2 version
1 parent 2e36ea2 commit e99cb4c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ox3apiclient/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@
1717
else:
1818
import json
1919

20-
#import oauth2_version as oauth
21-
import oauth2 as oauth
20+
if major_py_version == 2 and minor_py_version > 4:
21+
import oauth2 as oauth
22+
else:
23+
import oauth2_version as oauth
2224

2325
import urllib
2426
import urllib2

0 commit comments

Comments
 (0)