cc-4105: refactored how watched, stored directories are handled
This commit is contained in:
parent
ad12926af2
commit
3b1583f620
7 changed files with 84 additions and 45 deletions
|
@ -38,3 +38,10 @@ class FailedToCreateDir(Exception):
|
|||
self.path = path
|
||||
self.parent = parent
|
||||
def __str__(self): return "Failed to create path '%s'" % self.path
|
||||
|
||||
class NoDirectoryInAirtime(Exception):
|
||||
def __init__(self,path, does_exist):
|
||||
self.path = path
|
||||
self.does_exist = does_exist
|
||||
def __str__(self):
|
||||
return "Directory '%s' does not exist in Airtime.\nHowever: %s do exist." % (self.path, self.does_exist)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue