Skip to content

Commit

Permalink
feat(Updater): 支持使用测试环境检查更新
Browse files Browse the repository at this point in the history
  • Loading branch information
wzpan committed Mar 16, 2019
1 parent f14b6bd commit 917f081
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.4
1.4.5
2 changes: 1 addition & 1 deletion server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get(self):
self.redirect("/login")
return
if conversation:
info = Updater.fetch(wukong.dev)
info = Updater.fetch(wukong._dev)
suggestion = random.choice(suggestions)
notices = None
if 'notices' in info:
Expand Down
2 changes: 1 addition & 1 deletion wukong.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def profiling(self):

def dev(self):
logger.info('使用测试环境')
self.dev = True
self._dev = True
self.run()

if __name__ == '__main__':
Expand Down

0 comments on commit 917f081

Please sign in to comment.