mirror of
				https://github.com/hydralauncher/hydra.git
				synced 2025-03-09 15:40:26 +00:00 
			
		
		
		
	lint
This commit is contained in:
		
							parent
							
								
									1a286df3f7
								
							
						
					
					
						commit
						fd5b2e08a5
					
				
					 14 changed files with 31 additions and 87 deletions
				
			
		|  | @ -68,7 +68,7 @@ def process_list(): | |||
|     if auth_error: | ||||
|         return auth_error | ||||
| 
 | ||||
|     process_list = [proc.info for proc in psutil.process_iter(['exe', 'pid', 'username'])] | ||||
|     process_list = [proc.info for proc in psutil.process_iter(['exe', 'pid', 'name'])] | ||||
|     return jsonify(process_list), 200 | ||||
| 
 | ||||
| @app.route("/profile-image", methods=["POST"]) | ||||
|  |  | |||
|  | @ -128,7 +128,7 @@ class TorrentDownloader: | |||
|         self.torrent_handle = None | ||||
| 
 | ||||
|     def get_download_status(self): | ||||
|         if self.torrent_handle == None: | ||||
|         if self.torrent_handle is None: | ||||
|             return None | ||||
| 
 | ||||
|         status = self.torrent_handle.status() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue