Adding a security to check if the folder call exist
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Archive(Exception):
|
||||
def __init__(self, source):
|
||||
self.source = source
|
||||
|
||||
|
||||
class ArchiveFolderSourceNotFound(Archive):
|
||||
def __str__(self):
|
||||
return f'Can\'t find the folder source "{self.source}".'
|
||||
Reference in New Issue
Block a user