fix example in docs/examples/python.rst (#1606)

This commit is contained in:
Alexander Speshilov 2023-02-28 16:20:53 +03:00 committed by GitHub
parent 60d76d907a
commit b41d701727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -35,10 +35,10 @@ To do this, we'll begin by importing `archinstall` in our `./archinstall/example
import archinstall import archinstall
all_drives = archinstall.list_drives() all_drives = archinstall.all_blockdevices(partitions=False)
print(all_drives) print(list(all_drives.keys()))
This should print out a list of drives and some meta-information about them. This should print out a list of drives.
As an example, this will do just fine. As an example, this will do just fine.
Now, go ahead and install the library either as a user-module or system-wide. Now, go ahead and install the library either as a user-module or system-wide.