Skip to content

Commit

Permalink
Merge pull request #26 from cclauss/patch-1
Browse files Browse the repository at this point in the history
Any chance we could make this Python 3.6.4 instead of 2.7?
  • Loading branch information
humitos authored Feb 1, 2018
2 parents aa1918b + b406719 commit 2affacf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions raspberrypi/copy_config_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
import os
import shutil

try:
raw_input # Python 2
except NameError:
raw_input = input # Python 3


for directory in ('home', 'etc'):
for root, dirnames, filenames in os.walk(directory):
Expand Down

0 comments on commit 2affacf

Please sign in to comment.