mirror of
https://github.com/lutris/lutris
synced 2024-10-06 15:59:39 +00:00
Return target directory
This commit is contained in:
parent
8ca5136bb7
commit
3d0f6bddcc
|
@ -1059,7 +1059,7 @@ class Game(GObject.Object):
|
||||||
|
|
||||||
if not system.path_exists(old_location):
|
if not system.path_exists(old_location):
|
||||||
logger.warning("Initial location %s does not exist, files may have already been moved.")
|
logger.warning("Initial location %s does not exist, files may have already been moved.")
|
||||||
return
|
return target_directory
|
||||||
|
|
||||||
try:
|
try:
|
||||||
shutil.move(old_location, new_location)
|
shutil.move(old_location, new_location)
|
||||||
|
|
Loading…
Reference in a new issue