@ -384,8 +384,8 @@ class ModManager:
if content . endswith ( os . path . sep ) :
if content . endswith ( os . path . sep ) :
self . __logger . debug ( f " Skipped moving of { os . path . join ( tmp_dir , content ) } " )
self . __logger . debug ( f " Skipped moving of { os . path . join ( tmp_dir , content ) } " )
continue
continue
parent_dir = os . path . join ( self . __settings . get_game_folder ( ) . replace ( " / " , os . path . sep ) ,
parent_dir = os . path . join ( self . __settings . get_game_folder ( ) , file ) . split ( os . path . basename ( file ) ) [ 0 ] \
file . replace ( " / " , os . path . sep ) ) . split ( file . replace ( " / " , os . path . sep ) ) [ 0 ]
. replace ( " / " , os . path . sep )
if not os . path . exists ( parent_dir ) :
if not os . path . exists ( parent_dir ) :
os . mkdir ( parent_dir )
os . mkdir ( parent_dir )
if not os . path . exists ( os . path . join ( self . __settings . get_game_folder ( ) . replace ( " / " , os . path . sep ) ,
if not os . path . exists ( os . path . join ( self . __settings . get_game_folder ( ) . replace ( " / " , os . path . sep ) ,