mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
use cleaner working dir selection in check scripts
This commit is contained in:
parent
8e4de1e5f2
commit
e3a48e6dfd
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import os
|
|||
import re
|
||||
import sys
|
||||
|
||||
os.chdir(os.path.dirname(__file__) + '/../')
|
||||
os.chdir(os.path.join(os.path.dirname(__file__), '..'))
|
||||
|
||||
count = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
import glob
|
||||
import os
|
||||
|
||||
os.chdir(os.path.dirname(__file__) + '/../')
|
||||
os.chdir(os.path.join(os.path.dirname(__file__), '..'))
|
||||
|
||||
for f in glob.glob('metadata/*/*/*.txt') + glob.glob('metadata/*/*/*/*.txt'):
|
||||
if os.path.getsize(f) == 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue