some minor nitpicking
This commit is contained in:
		
							parent
							
								
									543862629f
								
							
						
					
					
						commit
						7234b74df1
					
				|  | @ -53,7 +53,8 @@ class Table(Table_Window): | ||||||
|                 title = d[kCGWindowName] |                 title = d[kCGWindowName] | ||||||
|                 if self.check_bad_words(title): continue |                 if self.check_bad_words(title): continue | ||||||
|                 self.number = int(d[kCGWindowNumber]) |                 self.number = int(d[kCGWindowNumber]) | ||||||
|                 self.title = title; return self.title |                 self.title = title | ||||||
|  |                 return self.title | ||||||
|         if self.number is None: |         if self.number is None: | ||||||
|             return None |             return None | ||||||
|    |    | ||||||
|  |  | ||||||
|  | @ -30,6 +30,7 @@ The generated file can then replace heroname.xml (if all is well). | ||||||
| 
 | 
 | ||||||
| ######################################################################## | ######################################################################## | ||||||
| 
 | 
 | ||||||
|  | #TODO gettextify | ||||||
| 
 | 
 | ||||||
| #    Standard Library modules | #    Standard Library modules | ||||||
| import os | import os | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| # it under the terms of the GNU General Public License as published by | # it under the terms of the GNU General Public License as published by | ||||||
| # the Free Software Foundation, version 3 of the License. | # the Free Software Foundation, version 3 of the License. | ||||||
| # | # | ||||||
|  | # TODO gettextify usage print | ||||||
| 
 | 
 | ||||||
| import L10n | import L10n | ||||||
| _ = L10n.get_translation() | _ = L10n.get_translation() | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user