Skip to content

Commit eec4caa

Browse files
committed
fix syntax error and bug
1 parent 3e5f056 commit eec4caa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

js/actions/NavActions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var NavActions = {
5555
AppDispatcher.dispatch({
5656
actionType: OPConstants.SET_ATTRIBUTE,
5757
key: key,
58-
value, value
58+
value: value
5959
});
6060
}
6161

scripts/coptic_unicode_converter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def main():
3131
ap = argparse.ArgumentParser()
3232
ap.add_argument("-string", required=False)
3333
args = vars(ap.parse_args())
34-
print(args)
3534

3635
# make sure character mappings are equal in length
3736
assert(len(ascii_coptic) == len(unicode_coptic))
@@ -42,7 +41,7 @@ def main():
4241
mapping[a] = chr(b)
4342

4443

45-
if len(args) > 0:
44+
if args["string"]:
4645
text = args["string"]
4746
print("".join(replace(mapping, list(text))))
4847
return

0 commit comments

Comments
 (0)