[sync] schedule updated

This commit is contained in:
tmshv committed 2016-09-14 02:11:11 +03:00
1 parent 7300a49fc4
commit 3217a27bb8
1 file changed
+1 -5
+1 -5
View File
@@ -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)