Skip to content

Commit 242c7df

Browse files
committed
Fix missing time import in fshandler.py
The Resource.__iter__ method uses time.sleep() but the time module was not imported, causing GET requests to fail with NameError.
1 parent dcd9366 commit 242c7df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pywebdav/server/fshandler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
22
import textwrap
3+
import time
34
import logging
45
import types
56
import shutil

0 commit comments

Comments
 (0)