File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
# stocksight Change Log
2
2
3
+ ## [ 0.1-b.6] = 2019-07-15
4
+ ### fixed
5
+ - "TypeError: sequence item 0: expected str instance, int found" traceback error when running with -f twitteruserids.txt
6
+
3
7
## [ 0.1-b.5] = 2019-01-11
4
8
### changed
5
9
- set encoding to utf-8 and checked for bytes when writing to twitteruserids.txt
Original file line number Diff line number Diff line change 40
40
from config import *
41
41
42
42
43
- STOCKSIGHT_VERSION = '0.1-b.5 '
43
+ STOCKSIGHT_VERSION = '0.1-b.6 '
44
44
__version__ = STOCKSIGHT_VERSION
45
45
46
46
IS_PY3 = sys .version_info >= (3 , 0 )
@@ -459,7 +459,7 @@ def get_twitter_users_from_file(file):
459
459
try :
460
460
f = open (file , "rt" , encoding = 'utf-8' )
461
461
for line in f .readlines ():
462
- u = int ( line .strip () )
462
+ u = line .strip ()
463
463
twitter_users .append (u )
464
464
logger .debug (twitter_users )
465
465
f .close ()
You can’t perform that action at this time.
0 commit comments