cannot use False for object id, as it is being used for os.path.join() in object

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-03-05 15:23:53 +01:00
parent 73c77dd2d3
commit fa6e389fdd

View file

@ -134,7 +134,7 @@ class Emulator(object):
def setup_object(self):
# Setup object - and ensure it is not in args
if self.cdist_type.is_singleton:
self.object_id = False
self.object_id = ''
else:
self.object_id = self.args.object_id[0]
del self.args.object_id