[fix][arch] displaying the wrong subtypes due to previous renaming

This commit is contained in:
Vinícius Moreira
2020-04-13 16:51:53 -03:00
parent 1fdf3d6952
commit 8d55ae28b0
12 changed files with 64 additions and 68 deletions

View File

@@ -13,7 +13,7 @@ SYNC_FILE = '{}/arch/db_sync'.format(CACHE_PATH)
def should_sync(arch_config: dict, handler: ProcessHandler, logger: logging.Logger):
if arch_config['arch'] or arch_config['repositories']:
if arch_config['aur'] or arch_config['repositories']:
if os.path.exists(SYNC_FILE):
with open(SYNC_FILE) as f:
sync_file = f.read()