mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
stats/known_apks.txt must be in UTF-8 format on all platforms
This commit is contained in:
parent
a6d35a7ee1
commit
1e1f0db347
1 changed files with 1 additions and 1 deletions
|
@ -2403,7 +2403,7 @@ class KnownApks:
|
|||
self.path = os.path.join('stats', 'known_apks.txt')
|
||||
self.apks = {}
|
||||
if os.path.isfile(self.path):
|
||||
with open(self.path, 'r') as f:
|
||||
with open(self.path, 'r', encoding='utf-8') as f:
|
||||
for line in f:
|
||||
t = line.rstrip().split(' ')
|
||||
if len(t) == 2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue