add debug

This commit is contained in:
Jakobus Schürz 2020-02-12 18:20:46 +01:00
parent 876a455dfa
commit a5d6d2ad96

View file

@ -32,6 +32,7 @@ class WorkdirFS(Operations):
def _full_path(self, partial):
today = datetime.now() - timedelta(hours=self.args.timeoffset)
print("-y ", self.args.yearlydir, " -M ", self.args.monthlydir)
if self.args.yearlydir:
path = os.path.join(os.environ['HOME'], self.args.archive,"workdir",today.strftime("%Y"))
if self.args.monthlydir: