mirror of
https://github.com/sashacmc/photo-importer.git
synced 2024-11-24 08:02:14 +02:00
Merge pull request #2 from serjeii/patch-1
Fix read of remove_empty_dirs
This commit is contained in:
commit
7e28c804d8
@ -35,7 +35,7 @@ class Importer(threading.Thread):
|
||||
|
||||
new_filenames = self.__image_filenames(self.__move_files(filenames))
|
||||
|
||||
if self.__config['main']['remove_empty_dirs']:
|
||||
if int(self.__config['main']['remove_empty_dirs']):
|
||||
self.__remove_empty_dirs(dirs)
|
||||
|
||||
self.__rotate_files(new_filenames)
|
||||
|
Loading…
Reference in New Issue
Block a user