Skip to content

Commit

Permalink
Ran black.
Browse files Browse the repository at this point in the history
  • Loading branch information
moorepants committed Oct 3, 2024
1 parent f6f802b commit bc0d792
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ngshare_exchange/course_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import argparse
from urllib.parse import quote


# https://www.geeksforgeeks.org/print-colors-python-terminal/
def prRed(skk, exit=True):
print('\033[91m {}\033[00m'.format(skk))
Expand Down
2 changes: 1 addition & 1 deletion ngshare_exchange/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def decode_dir(self, src_dir, dest_dir, ignore=None, noclobber=False):

def encode_dir(self, src_dir, ignore=None):
encoded_files = []
for (subdir, dirs, files) in os.walk(src_dir):
for subdir, dirs, files in os.walk(src_dir):
for file_name in files:
file_path = subdir + os.sep + file_name
data_bytes = open(file_path, 'rb').read()
Expand Down

0 comments on commit bc0d792

Please sign in to comment.