match therion files to wallets, scans names therein

This commit is contained in:
Philip Sargent
2022-08-14 01:47:53 +03:00
parent 8e93680146
commit b093d00ff4
2 changed files with 40 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ def LoadListScansFile(wallet):
c=0
for (fyf, ffyf, fisdiryf) in gld:
if re.search(r"\.(?:png|jpg|jpeg|pdf|svg|gif)(?i)$", fyf):
if re.search(r"\.(?:png|jpg|jpeg|pdf|svg|gif|xvi)(?i)$", fyf):
singlescan = SingleScan(ffile=ffyf, name=fyf, wallet=wallet)
singlescan.save()
c+=1