mirror of
				https://github.com/noDRM/DeDRM_tools.git
				synced 2025-10-23 23:07:47 -04:00 
			
		
		
		
	Merge pull request #1586 from raiden64/master
Fix in keyfetch for obok on MacOS
This commit is contained in:
		
						commit
						86a90117e5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -478,7 +478,7 @@ class KoboLibrary(object): | ||||||
|                     macaddrs.append(re.sub("-", ":", m.group(1)).upper()) |                     macaddrs.append(re.sub("-", ":", m.group(1)).upper()) | ||||||
|         elif sys.platform.startswith('darwin'): |         elif sys.platform.startswith('darwin'): | ||||||
|             c = re.compile('\s(' + '[0-9a-f]{2}:' * 5 + '[0-9a-f]{2})(\s|$)', re.IGNORECASE) |             c = re.compile('\s(' + '[0-9a-f]{2}:' * 5 + '[0-9a-f]{2})(\s|$)', re.IGNORECASE) | ||||||
|             output = subprocess.check_output('/sbin/ifconfig -a', shell=True) |             output = subprocess.check_output('/sbin/ifconfig -a', shell=True, encoding='utf-8') | ||||||
|             matches = c.findall(output) |             matches = c.findall(output) | ||||||
|             for m in matches: |             for m in matches: | ||||||
|                 # print "m:{0}".format(m[0]) |                 # print "m:{0}".format(m[0]) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Apprentice Harper
						Apprentice Harper