Change how pathlib.Path is imported
This commit is contained in:
parent
660e5870ef
commit
3c0eefd0d3
@ -1,10 +1,11 @@
|
|||||||
"""Module for config file helper functions."""
|
"""Module for config file helper functions."""
|
||||||
|
|
||||||
import configparser
|
import configparser
|
||||||
import pathlib
|
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
# ========== Constants ==========
|
# ========== Constants ==========
|
||||||
PACMAN_CONF = pathlib.Path("/etc/pacman.conf")
|
PACMAN_CONF = Path("/etc/pacman.conf")
|
||||||
|
|
||||||
|
|
||||||
# ========== Functions ==========
|
# ========== Functions ==========
|
||||||
|
Loading…
x
Reference in New Issue
Block a user