We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f954d commit f85dfbbCopy full SHA for f85dfbb
devdocs_desktop.py
@@ -5,7 +5,6 @@
5
import sys
6
import json
7
import dbus
8
-import shutil
9
import signal
10
import argparse
11
import webbrowser
@@ -146,14 +145,10 @@ def search_webview(self):
146
145
self.finder.search(text, opts, 100)
147
148
def create_settings_path(self):
149
- new_path = self.settings_path()
150
- old_path = os.path.expanduser('~/.devdocs-desktop')
+ path = self.settings_path()
151
152
- if os.path.exists(old_path):
153
- shutil.move(old_path, new_path)
154
-
155
- if not os.path.exists(new_path):
156
- os.makedirs(self.settings_path())
+ if not os.path.exists(path):
+ os.makedirs(path)
157
158
def inject_custom_styles(self):
159
style = open(self.file_path('styles/webview.css'), 'r').read()
0 commit comments