mirror of
				https://github.com/MCV-Software/TWBlue.git
				synced 2025-11-03 21:37:05 +00:00 
			
		
		
		
	Code cleanup
This commit is contained in:
		@@ -5,7 +5,6 @@ import threading
 | 
				
			|||||||
import wx
 | 
					import wx
 | 
				
			||||||
from pubsub import pub
 | 
					from pubsub import pub
 | 
				
			||||||
from twython import TwythonRateLimitError
 | 
					from twython import TwythonRateLimitError
 | 
				
			||||||
import time
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
def call_threaded(func, *args, **kwargs):
 | 
					def call_threaded(func, *args, **kwargs):
 | 
				
			||||||
 #Call the given function in a daemonized thread and return the thread.
 | 
					 #Call the given function in a daemonized thread and return the thread.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -363,7 +363,6 @@ class Session(object):
 | 
				
			|||||||
   for z in i.users:
 | 
					   for z in i.users:
 | 
				
			||||||
    ids += str(z) + ", "
 | 
					    ids += str(z) + ", "
 | 
				
			||||||
  if ids != "":
 | 
					  if ids != "":
 | 
				
			||||||
#   print ids
 | 
					 | 
				
			||||||
   stream_threaded(self.timelinesStream.statuses.filter, self.session_id, follow=ids)
 | 
					   stream_threaded(self.timelinesStream.statuses.filter, self.session_id, follow=ids)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 def add_friends(self):
 | 
					 def add_friends(self):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user