aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/Mangadex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp
index 18648be..3518d4a 100644
--- a/src/plugins/Mangadex.cpp
+++ b/src/plugins/Mangadex.cpp
@@ -115,12 +115,12 @@ namespace QuickMedia {
}
static bool get_cookie_filepath(std::string &cookie_filepath) {
- Path cookie_path = get_storage_dir().join("cookies").join("mangadex.txt");
+ Path cookie_path = get_storage_dir().join("cookies");
if(create_directory_recursive(cookie_path) != 0) {
show_notification("Storage", "Failed to create directory: " + cookie_path.data, Urgency::CRITICAL);
return false;
}
- cookie_filepath = cookie_path.data;
+ cookie_filepath = cookie_path.join("mangadex.txt").data;
return true;
}