Skip to content

Commit 81d0f99

Browse files
Fix serialize with multiple disks on windows
1 parent e56df6e commit 81d0f99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rdflib/graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,9 +993,9 @@ def serialize(
993993
serializer.serialize(stream, base=base, encoding=encoding, **args)
994994
stream.close()
995995
if hasattr(shutil, "move"):
996-
shutil.move(name, path)
996+
shutil.move(name, location)
997997
else:
998-
shutil.copy(name, path)
998+
shutil.copy(name, location)
999999
os.remove(name)
10001000

10011001
def parse(

0 commit comments

Comments
 (0)