Commit e70f26efa0
Unsigned
Layout: unified · split
curd.py +2 −1
| @@ -1,3 +1,4 @@ | |||
| 1 | #!/bin/python3 | ||
| 1 | # if you are trying to read this code, god help you. | 2 | # if you are trying to read this code, god help you. |
| 2 | # this is how my implementation of the ani-cli code to get the anime works | 3 | # this is how my implementation of the ani-cli code to get the anime works |
| 3 | 4 | ||
| @@ -102,7 +103,7 @@ def create_default_user_config(default_config): | |||
| 102 | return output_string | 103 | return output_string |
| 103 | 104 | ||
| 104 | def load_config() -> dict: | 105 | def load_config() -> dict: |
| 105 | command = """echo $(xdg-user-dir CONFIG)""" | 106 | command = """echo $HOME""" |
| 106 | 107 | ||
| 107 | result = subprocess.run(command, shell=True, capture_output=True, text=True) | 108 | result = subprocess.run(command, shell=True, capture_output=True, text=True) |
| 108 | output = result.stdout.strip() | 109 | output = result.stdout.strip() |