Remove reference to fpdb_simple
This commit is contained in:
		
							parent
							
								
									0898ddf8a1
								
							
						
					
					
						commit
						ae55a89d7f
					
				|  | @ -39,7 +39,6 @@ if os.name == 'nt': | ||||||
| 
 | 
 | ||||||
| #    FreePokerTools modules | #    FreePokerTools modules | ||||||
| import Configuration | import Configuration | ||||||
| from fpdb_simple import LOCALE_ENCODING |  | ||||||
| 
 | 
 | ||||||
| #    Each TableWindow object must have the following attributes correctly populated: | #    Each TableWindow object must have the following attributes correctly populated: | ||||||
| #    tw.name = the table name from the title bar, which must to match the table name | #    tw.name = the table name from the title bar, which must to match the table name | ||||||
|  | @ -238,7 +237,7 @@ def discover_nt_by_name(c, tablename): | ||||||
|         try: |         try: | ||||||
|             # maybe it's better to make global titles[hwnd] decoding? |             # maybe it's better to make global titles[hwnd] decoding? | ||||||
|             # this can blow up in XP on some windows, eg firefox displaying http://docs.python.org/tutorial/classes.html |             # this can blow up in XP on some windows, eg firefox displaying http://docs.python.org/tutorial/classes.html | ||||||
|             if not tablename.lower() in titles[hwnd].decode(LOCALE_ENCODING).lower(): |             if not tablename.lower() in titles[hwnd].decode(Configuration.LOCALE_ENCODING).lower(): | ||||||
|                 continue |                 continue | ||||||
|         except: |         except: | ||||||
|             continue |             continue | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user