| Server IP : 93.86.61.54 / Your IP : 216.73.216.206 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/xdg/__pycache__/ |
Upload File : |
o
�)X�
� @ sr d dl Z e jd dkZerdd� Zndd� Zz d dlmZ W dS ey8 d dlZejej B dfdd�ZY dS w ) � N� c C s | S �N� ��sr r �*/usr/lib/python3/dist-packages/xdg/util.py�u s r c C s
| � d�S )Nzutf-8)�decoder r r r r
s
)�whichc s dd� }t j�� �r|� |�r� S dS |pt j�dt j��t j�}tj dkrVt j
|vr2|�dt j
� t j�dd��t j�}t� fd d
�|D ��rL� g}n
� fdd�|D �}n� g}t
� }|D ](}t j�|�}||vr�|�|� |D ]} t j�|| �}
||
|�r�|
S qqq^dS )
aK Given a command, mode, and a PATH string, return the path which
conforms to the given mode on the PATH, or None if there is no such
file.
`mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result
of os.environ.get("PATH"), or can be overridden with a custom search
path.
c S s&