diff --git a/src/usbinstall.py b/src/usbinstall.py index 70f7f93..9744d61 100755 --- a/src/usbinstall.py +++ b/src/usbinstall.py @@ -256,8 +256,8 @@ def get_list(): for dev in ud_manager.EnumerateDevices(): device_obj = bus.get_object('org.freedesktop.UDisks', dev) device_props = dbus.Interface(device_obj, dbus.PROPERTIES_IFACE) - # If dev.space > 1 Gb - if(device_props.Get('org.freedesktop.UDisks.Device', 'PartitionSize')) > 1073741823: + # If dev.space > 850 MB + if(device_props.Get('org.freedesktop.UDisks.Device', 'PartitionSize')) > 891289600: # If dev is removable if(device_props.Get('org.freedesktop.UDisks.Device', 'DeviceIsRemovable')): # Populate the arrays