Skip to content

Commit

Permalink
Fix findall
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdapretnar committed Sep 11, 2017
1 parent d21ef0f commit 2cc2fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/widgets/model/owneuralnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_learner_parameters(self):
("Max iterations", self.max_iterations))

def get_hidden_layers(self):
layers = tuple(map(int, re.findall('\d+', self.hidden_layers_input)))
layers = tuple(map(int, re.findall(r'\d+', self.hidden_layers_input)))
if not layers:
layers = (100,)
self.hidden_layers_edit.setText("100,")
Expand Down

0 comments on commit 2cc2fe0

Please sign in to comment.