diff --git a/hlna.py b/hlna.py
index 53433e2..72a4693 100755
--- a/hlna.py
+++ b/hlna.py
@@ -487,8 +487,8 @@ def modextract(id_mod, id_game_workshop):
modname = re.search(r'
(.+)
', modname)
modname = modname and modname.group(1)
- if os.path.isfile(f"{dir_ark_mods}/.mod"):
- os.remove(f"{dir_ark_mods}/.mod")
+ if os.path.isfile(f"{dir_ark_mods}.mod"):
+ os.remove(f"{dir_ark_mods}.mod")
modfile_bytes = b''
with open(os.path.join(dir_ark_mods, 'mod.info'), 'rb') as f:
@@ -513,6 +513,7 @@ def modextract(id_mod, id_game_workshop):
modfile_bytes += struct.pack('