mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Removed debug logging, fix GH-63
This commit is contained in:
parent
db80e1791a
commit
f5f73d9223
@ -111,15 +111,8 @@ for dirtype in dir_settings:
|
||||
except:
|
||||
pass
|
||||
|
||||
from pprint import pprint
|
||||
print("")
|
||||
print("")
|
||||
pprint(dir_settings)
|
||||
print("")
|
||||
print("")
|
||||
|
||||
if any((dir_settings[s] is None) for s in dir_settings):
|
||||
print("NOT ALL DIRECTORIES SET!")
|
||||
assert all((dir_settings[s] is not None) for s in dir_settings)
|
||||
|
||||
|
||||
data_directories = {
|
||||
@ -134,12 +127,6 @@ data_directories = {
|
||||
"cache":pthj(dir_settings['cache']),
|
||||
}
|
||||
|
||||
print("")
|
||||
print("")
|
||||
pprint(data_directories)
|
||||
print("")
|
||||
print("")
|
||||
|
||||
|
||||
data_dir = {
|
||||
k:lambda *x,k=k: pthj(data_directories[k],*x) for k in data_directories
|
||||
|
@ -50,7 +50,6 @@ def setup():
|
||||
|
||||
|
||||
# OWN API KEY
|
||||
print(data_dir['clients']("authenticated_machines.tsv"))
|
||||
if os.path.exists(data_dir['clients']("authenticated_machines.tsv")):
|
||||
pass
|
||||
else:
|
||||
|
@ -30,10 +30,8 @@ def backup(folder,level="full"):
|
||||
for g in selected_files[cat]:
|
||||
real_files[cat] += glob.glob(catfolder(g))
|
||||
|
||||
log("Creating backup of " + str(len(real_files)) + " files...")
|
||||
log("Creating backup...")
|
||||
|
||||
from pprint import pprint
|
||||
pprint(real_files)
|
||||
|
||||
now = datetime.utcnow()
|
||||
timestr = now.strftime("%Y_%m_%d_%H_%M_%S")
|
||||
|
Loading…
Reference in New Issue
Block a user