Cast OUTPUT_PATH to Path object
This commit is contained in:
parent
df072454b2
commit
0c97d3a748
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ def main():
|
|||
global SIGNAL_PATH, OUTPUT_PATH
|
||||
logger.info("Moodle Export Worker starting")
|
||||
SIGNAL_PATH = Path(SIGNAL_PATH)
|
||||
OUTPUT_PATH = Path(OUTPUT_PATH)
|
||||
|
||||
if SIGNAL_PATH.exists():
|
||||
if not SIGNAL_PATH.is_dir():
|
||||
|
|
Loading…
Reference in a new issue