File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# stocksight Change Log
22
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+
37## [ 0.1-b.5] = 2019-01-11
48### changed
59- set encoding to utf-8 and checked for bytes when writing to twitteruserids.txt
Original file line number Diff line number Diff line change 4040from config import *
4141
4242
43- STOCKSIGHT_VERSION = '0.1-b.5 '
43+ STOCKSIGHT_VERSION = '0.1-b.6 '
4444__version__ = STOCKSIGHT_VERSION
4545
4646IS_PY3 = sys .version_info >= (3 , 0 )
@@ -459,7 +459,7 @@ def get_twitter_users_from_file(file):
459459 try :
460460 f = open (file , "rt" , encoding = 'utf-8' )
461461 for line in f .readlines ():
462- u = int ( line .strip () )
462+ u = line .strip ()
463463 twitter_users .append (u )
464464 logger .debug (twitter_users )
465465 f .close ()
You can’t perform that action at this time.
0 commit comments