[sync] schedule updated
This commit is contained in:
1 parent
7300a49fc4
commit
3217a27bb8
1 file changed
+1
-5
@@ -4,7 +4,7 @@ from toml import loads as toml_str
|
||||
from sync import untouched
|
||||
from sync.core.schedule import SyncSchedule
|
||||
from sync.data import scan_subdirs, get_data
|
||||
from utils.fn import lmap
|
||||
from utils.fn import lmap, constant
|
||||
from utils.io import read_yaml
|
||||
|
||||
dir_documents = '/Users/tmshv/Dropbox/Dev/Hud school/Schedules'
|
||||
@@ -40,10 +40,6 @@ def combine(fns):
|
||||
return call
|
||||
|
||||
|
||||
def constant(value):
|
||||
return lambda _: value
|
||||
|
||||
|
||||
def toml(bytes_value):
|
||||
s = bytes_value.decode('utf-8')
|
||||
return toml_str(s)
|
||||
|
||||
Reference in new issue
Block a user