Update unpack.py

This commit is contained in:
gutosie
2022-12-06 07:41:53 +02:00
committed by GitHub
parent 89fa81b804
commit 5f811d11b4

View File

@@ -123,6 +123,10 @@ class InstallImage(Screen, ConfigListScreen):
fn = fn.replace('.tar', '')
sourcelist.append((fn, fn))
continue
if fn.find('.tar') != -1:
fn = fn.replace('.tar.gz', '')
sourcelist.append((fn, fn))
continue
if fn.find('.mb') != -1:
fn = fn.replace('.mb', '')
sourcelist.append((fn, fn))