Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions search_that_hash/config_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def default_config():
appname = "Search-That-Hash"
appauthor = "HashPals"

config_json = user_data_dir(appname, appauthor) + "\\config.json"
config_json = os.path.join(user_data_dir(appname, appauthor), "config.json")

if not os.path.isfile(config_json):
os.makedirs(user_data_dir(appname, appauthor))
Expand All @@ -78,4 +78,4 @@ def create_hash_config(hashes, popular=False):
# Gets the results from name-that-hash
logging.debug("Called NTH to get hash types")
nth_result_types = json.loads(nth.api_return_hashes_as_json(hashes, {"popular_only": popular}))
return nth_result_types
return nth_result_types