If there no default saved dir, show a dialog for autosaving
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ class Settings(object):
|
||||
# Be default, the home will be in the same folder as labelImg
|
||||
home = os.path.expanduser("~")
|
||||
self.data = {}
|
||||
self.path = os.path.join(home, '.settings.pkl')
|
||||
self.path = os.path.join(home, '.labelImgSettings.pkl')
|
||||
|
||||
def __setitem__(self, key, value):
|
||||
self.data[key] = value
|
||||
|
||||
Reference in New Issue
Block a user