Operating system or device - Godot version:
Windows 10, Godot 2.1 alpha custom build
Issue description (what happened, and what was expected):
directory = Directory.new()
if not directory.dir_exists("res://path/to/dir"):
print ("Directory does not exist")
if directory.open("res://path/to/dir) == OK:
print("Directory open works")
Output:
Directory does not exist
Directory open works
Expected:
Directory open works
Steps to reproduce:
directory.dir_exists(directory.get_current_dir())
Link to minimal example project (optional but very welcome):